Created
September 17, 2013 16:35
-
-
Save rmoura-92/6596908 to your computer and use it in GitHub Desktop.
ignite
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Filename: ignite.js | |
define( | |
[ | |
'jquery', | |
'underscore', | |
'backbone', | |
'collections/voos', | |
'collections/hoteis', | |
'collections/ferias', | |
'collections/escapadinhas', | |
'collections/background', | |
'collections/lastminute', | |
'collections/users' | |
], | |
function($, _, Backbone, VoosColl, HoteisColl, FeriasColl, EscapadinhasColl, BgColl, LastminuteColl, UsersColl) { | |
var CollectionIgnite = { | |
Voos: new VoosColl(), | |
Hoteis: new HoteisColl(), | |
Ferias: new FeriasColl(), | |
Escapadinhas: new EscapadinhasColl(), | |
Background: new BgColl(), | |
LastMinute: new LastminuteColl(), | |
Users: new UsersColl(), | |
bootstrap: function() { | |
//return | |
this.Background.getImages(); | |
this.LastMinute.getResults(); | |
} | |
}; | |
return CollectionIgnite; | |
} | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment