Created
April 7, 2012 20:53
-
-
Save yedi/2332061 to your computer and use it in GitHub Desktop.
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
define([ | |
'use!underscore', | |
'use!backbone', | |
'modules/models/rel' | |
], | |
function(_, Backbone, RelModel){ | |
var RelsCollection = Backbone.Collection.extend({ | |
// Reference to this collection's model. | |
model: RelModel, | |
/* | |
// Save all of the rels under the `"rels"` namespace. | |
localStorage: new Store("rels-backbone-require"), | |
*/ | |
initialize: function() { | |
alert('test'); | |
} | |
}); | |
return RelsCollection; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment