Update to latest versions.
Showing
2 changed files
with
7 additions
and
6 deletions
... | @@ -15,9 +15,9 @@ | ... | @@ -15,9 +15,9 @@ |
15 | ], | 15 | ], |
16 | "dependencies": { | 16 | "dependencies": { |
17 | "jquery": "", | 17 | "jquery": "", |
18 | "backbone": "~1.1.2", | 18 | "backbone": "", |
19 | "backbone-nested-models": "git@gitlab.brainfood.com:brainfood/backbone-nested-models.git", | 19 | "backbone-nested-models": "git@gitlab.brainfood.com:brainfood/backbone-nested-models.git", |
20 | "underscore": "~1", | 20 | "underscore": "", |
21 | "requirejs": "~2.1.17" | 21 | "requirejs": "~2.1.17" |
22 | } | 22 | } |
23 | } | 23 | } | ... | ... |
... | @@ -491,10 +491,6 @@ define(function(require) { | ... | @@ -491,10 +491,6 @@ define(function(require) { |
491 | }, | 491 | }, |
492 | */ | 492 | */ |
493 | }); | 493 | }); |
494 | var ItemCollection = Backbone.Collection.extend({ | ||
495 | remove: function() { | ||
496 | } | ||
497 | }); | ||
498 | var Item = Facet.Item = Backbone.Model.extend({ | 494 | var Item = Facet.Item = Backbone.Model.extend({ |
499 | idAttribute: 'key', | 495 | idAttribute: 'key', |
500 | defaults: { | 496 | defaults: { |
... | @@ -511,6 +507,11 @@ define(function(require) { | ... | @@ -511,6 +507,11 @@ define(function(require) { |
511 | return Item.__super__.initialize.apply(this, arguments); | 507 | return Item.__super__.initialize.apply(this, arguments); |
512 | } | 508 | } |
513 | }); | 509 | }); |
510 | var ItemCollection = Backbone.Collection.extend({ | ||
511 | model: Item, | ||
512 | remove: function() { | ||
513 | } | ||
514 | }); | ||
514 | 515 | ||
515 | return Facet; | 516 | return Facet; |
516 | }); | 517 | }); | ... | ... |
-
Please register or sign in to post a comment