PageRenderTime 104ms queryFilters 1ms Sphinxql 28ms app.CodeModel.GetByIds 10ms findMatchingLines 24ms GetByIds 34ms meta 0ms repositoryFilters 2ms languageFilters 1ms sourceFilters 5ms

39,824 results for 'Backbone.Collection.extend' (104 ms)

Source

Language

Repository

tests.js https://github.com/inferno-/Backbone-relational.git | JavaScript | 2,354 lines
79
80	window.AnimalCollection = Backbone.Collection.extend({
81		model: Animal,
146
147	window.PersonCollection = Backbone.Collection.extend({
148		model: Person
178
179	window.CompanyCollection = Backbone.Collection.extend({
180		model: Company
197
198	window.NodeList = Backbone.Collection.extend({
199		model: Node
414
415			ns.People.PersonCollection = Backbone.Collection.extend({
416				model: ns.People.Person
collection.js https://github.com/NickGardner/backbone.git | JavaScript | 783 lines
46  test("new and parse", 3, function() {
47    var Collection = Backbone.Collection.extend({
48      parse : function(data) {
139  test("add; at should have preference over comparator", 1, function() {
140    var Col = Backbone.Collection.extend({
141      comparator: function(a,b) {
210
211    var Col = Backbone.Collection.extend({model: Model});
212    var col = new Col;
400    });
401    var ValidatingCollection = Backbone.Collection.extend({
402      model: ValidatingModel
413    });
414    var ValidatingCollection = Backbone.Collection.extend({
415      model: ValidatingModel
index.html https://github.com/olleolleolle/backbone.git | HTML | 1,403 lines
751    <p id="Collection-extend">
752      <b class="header">extend</b><code>Backbone.Collection.extend(properties, [classProperties])</code>
753      <br />
769<pre>
770var Library = Backbone.Collection.extend({
771  model: Book
990<pre>
991var Notes = Backbone.Collection.extend({
992  url: '/notes'
996
997var Notes = Backbone.Collection.extend({
998  url: function() {
1078<pre>
1079var Library = Backbone.Collection.extend({
1080  model: Book
collection.js https://gitlab.com/JJVV27/backbone.git | JavaScript | 1,624 lines
45  test("new and parse", 3, function() {
46    var Collection = Backbone.Collection.extend({
47      parse : function(data) {
177  test("add; at should have preference over comparator", 1, function() {
178    var Col = Backbone.Collection.extend({
179      comparator: function(a,b) {
248
249    var Col = Backbone.Collection.extend({model: Model});
250    var col = new Col;
526    });
527    var ValidatingCollection = Backbone.Collection.extend({
528      model: ValidatingModel
545
546    var Collection = Backbone.Collection.extend({
547      model: Model,
wp-api.js https://gitlab.com/dhanukanuwan/hangover-office.git | JavaScript | 987 lines
656
657	var BaseCollection = Backbone.Collection.extend(
658		/** @lends BaseCollection.prototype  */
backbone.js https://gitlab.com/kidaa/matrix.git | JavaScript | 1,011 lines
876  // Set up inheritance for the model, collection, and view.
877  Backbone.Model.extend = Backbone.Collection.extend =
878    Backbone.Controller.extend = Backbone.View.extend = extend;
backbone.js https://gitlab.com/kidakadeshia/matrix.git | JavaScript | 1,011 lines
876  // Set up inheritance for the model, collection, and view.
877  Backbone.Model.extend = Backbone.Collection.extend =
878    Backbone.Controller.extend = Backbone.View.extend = extend;
model.js https://gitlab.com/mba811/backbone.git | JavaScript | 1,143 lines
3  var proxy = Backbone.Model.extend();
4  var klass = Backbone.Collection.extend({
5    url : function() { return '/collection'; }
06-extensions.md https://gitlab.com/OpenBookPlatform/backbone-fundamentals.git | Markdown | 1,179 lines
798
799  Todos.TodoList = Backbone.Collection.extend({
800    model: Todos.Todo,
AMDbackbone-0.5.3.js https://gitlab.com/OpenBookPlatform/backbone-fundamentals.git | JavaScript | 1,219 lines
1022  // Set up inheritance for the model, collection, and view.
1023  Backbone.Model.extend = Backbone.Collection.extend =
1024    Backbone.Router.extend = Backbone.View.extend = extend;
static.js https://gitlab.com/patrickmwanga/xtuple.git | JavaScript | 470 lines
19  });
20  XM.AccountTypeCollection = Backbone.Collection.extend({
21    model: XM.AccountTypeModel
46  });
47  XM.ConfigurationCollection = Backbone.Collection.extend({
48    model: XM.AccountTypeModel
62  });
63  XM.BalanceMethodCollection = Backbone.Collection.extend({
64    model: XM.BalanceMethodModel
77  });
78  XM.CreditCardGatewayCollection = Backbone.Collection.extend({
79    model: XM.CreditCardGatewayModel
99  });
100  XM.CreditCardTypeCollection = Backbone.Collection.extend({
101    model: XM.CreditCardTypeModel
static.js https://github.com/112028/xtuple.git | JavaScript | 470 lines
19  });
20  XM.AccountTypeCollection = Backbone.Collection.extend({
21    model: XM.AccountTypeModel
46  });
47  XM.ConfigurationCollection = Backbone.Collection.extend({
48    model: XM.AccountTypeModel
62  });
63  XM.BalanceMethodCollection = Backbone.Collection.extend({
64    model: XM.BalanceMethodModel
77  });
78  XM.CreditCardGatewayCollection = Backbone.Collection.extend({
79    model: XM.CreditCardGatewayModel
99  });
100  XM.CreditCardTypeCollection = Backbone.Collection.extend({
101    model: XM.CreditCardTypeModel
model.js https://github.com/1998763/backbone.git | JavaScript | 1,135 lines
3  var proxy = Backbone.Model.extend();
4  var klass = Backbone.Collection.extend({
5    url : function() { return '/collection'; }
06-extensions.md https://github.com/1st/backbone-fundamentals.git | Markdown | 1,179 lines
798
799  Todos.TodoList = Backbone.Collection.extend({
800    model: Todos.Todo,
AMDbackbone-0.5.3.js https://github.com/1st/backbone-fundamentals.git | JavaScript | 1,219 lines
1022  // Set up inheritance for the model, collection, and view.
1023  Backbone.Model.extend = Backbone.Collection.extend =
1024    Backbone.Router.extend = Backbone.View.extend = extend;
collectionView.spec.js https://github.com/4amitnarayan/backbone.marionette.git | JavaScript | 976 lines
910      this.Model       = Backbone.Model.extend({});
911      this.Collection  = Backbone.Collection.extend({model: this.Model});
912      this.CollectionView = Backbone.Marionette.CollectionView.extend({
compositeView.spec.js https://github.com/4amitnarayan/backbone.marionette.git | JavaScript | 772 lines
24
25    this.Collection = Backbone.Collection.extend({
26      model: this.Model
28
29    this.UserCollection = Backbone.Collection.extend({
30      model: this.User
32
33    this.NodeCollection = Backbone.Collection.extend({
34      model: this.Node
backbone.js https://github.com/a0x/shopqi.git | JavaScript | 1,014 lines
879  // Set up inheritance for the model, collection, and view.
880  Backbone.Model.extend = Backbone.Collection.extend =
881    Backbone.Controller.extend = Backbone.View.extend = extend;
backbone.js https://github.com/AaronLaw/backbone.git | JavaScript | 1,152 lines
1002  // Set up inheritance for the model, collection, and view.
1003  Backbone.Model.extend = Backbone.Collection.extend =
1004    Backbone.Router.extend = Backbone.View.extend = extend;
app.js https://bitbucket.org/tariel/contacts.git | JavaScript | 208 lines
29  // Define directory collection
30  var Directory = Backbone.Collection.extend({
31    model: Contact
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21