Last active
December 12, 2015 04:28
-
-
Save juliankrispel/4714777 to your computer and use it in GitHub Desktop.
Instantiating and extending Collection at the same time. Just wrap extend in braces
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( [], function(){ | |
var v_Filters = Backbone.View.extend({ | |
filters: new (Backbone.Collection.extend({ | |
url: 'http://www.google.com' | |
})) | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment