PageRenderTime 19ms queryFilters 0ms Sphinxql 21ms app.CodeModel.GetByIds 14ms findMatchingLines 22ms GetByIds 36ms meta 0ms repositoryFilters 1ms languageFilters 1ms sourceFilters 3ms

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

Source

Language

Repository

collection.js https://github.com/pmichelberger/backbone.git | JavaScript | 425 lines
66
67    var CustomSetCollection = Backbone.Collection.extend({
68      model: CustomSetModel
189
190    var Col = Backbone.Collection.extend({model: Model});
191    var col = new Col;
340    });
341    var ValidatingCollection = Backbone.Collection.extend({
342      model: ValidatingModel
353    });
354    var ValidatingCollection = Backbone.Collection.extend({
355      model: ValidatingModel
364  test("collection: initialize", function() {
365    var Collection = Backbone.Collection.extend({
366      initialize: function() {
model.js https://github.com/cdata/backbone-nested.git | JavaScript | 798 lines
17  var proxy = Backbone.Model.extend();
18  var klass = Backbone.Collection.extend({
19    url : function() { return '/collection'; }
backbone.js https://github.com/olleolleolle/backbone.git | JavaScript | 646 lines
578  // Set up inheritance for the model, collection, and view.
579  var extend = Backbone.Model.extend = Backbone.Collection.extend = Backbone.View.extend = function (protoProps, classProps) {
580    var child = inherits(this, protoProps, classProps);
model.js https://github.com/AlexSenchenko/backbone.git | JavaScript | 1,146 lines
3  var proxy = Backbone.Model.extend();
4  var klass = Backbone.Collection.extend({
5    url : function() { return '/collection'; }
06-extensions.md https://github.com/bbt123/backbone-fundamentals.git | Markdown | 1,179 lines
797
798  Todos.TodoList = Backbone.Collection.extend({
799    model: Todos.Todo,
index.html https://github.com/sventschui/Backbone-relational.git | HTML | 1,664 lines
339
340AnimalCollection = Backbone.Collection.extend({
341	model: Animal
1238
1239PersonCollection = Backbone.Collection.extend({
1240	url: function( models ) {
models.js https://github.com/aedocw/fuel-web.git | JavaScript | 762 lines
40
41    models.Releases = Backbone.Collection.extend({
42        constructorName: 'Releases',
98
99    models.Clusters = Backbone.Collection.extend({
100        constructorName: 'Clusters',
156
157    models.Nodes = Backbone.Collection.extend({
158        constructorName: 'Nodes',
238
239    models.Tasks = Backbone.Collection.extend({
240        constructorName: 'Tasks',
291
292    models.Notifications = Backbone.Collection.extend({
293        constructorName: 'Notifications',
display_tab_js.php https://github.com/Fishgate/privatecollectionswp.git | PHP | 1,718 lines
23    **/
24    Ngg.Models.SelectableItems = Backbone.Collection.extend({
25        selected: function(){
576	});
577	Ngg.DisplayTab.Models.SortDirection_Options = Backbone.Collection.extend({
578		model: Ngg.DisplayTab.Models.SortDirection
backbone学习笔记.txt https://github.com/cgg5207/StudyNotes.git | text | 613 lines
244设这个方法可以快速设定下属的model
245var Library = Backbone.Collection.extend({
246    model: Book
248还可以多态式添加model
249var Library = Backbone.Collection.extend({
250  model: function(attrs, options) {
393#url
394var Notes = Backbone.Collection.extend({
395    url: '/notes'
397// Or, something more sophisticated:
398var Notes = Backbone.Collection.extend({
399 url: function() {
415响应事件顺序, "add" , "request" , "sync"
416var Library = Backbone.Collection.extend({
417    model: Book
collectionView.spec.js https://github.com/jdaudier/backbone.marionette.git | JavaScript | 1,137 lines
1070      this.Model       = Backbone.Model.extend({});
1071      this.Collection  = Backbone.Collection.extend({model: this.Model});
1072      this.CollectionView = Backbone.Marionette.CollectionView.extend({
backbone-0.3.3.js https://bitbucket.org/aldaviva/portfolio | JavaScript | 1,012 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;
index.html https://github.com/deleteme/backbone.git | HTML | 2,482 lines
1013    <p id="Collection-extend">
1014      <b class="header">extend</b><code>Backbone.Collection.extend(properties, [classProperties])</code>
1015      <br />
1031<pre>
1032var Library = Backbone.Collection.extend({
1033  model: Book
1273<pre>
1274var Notes = Backbone.Collection.extend({
1275  url: '/notes'
1279
1280var Notes = Backbone.Collection.extend({
1281  url: function() {
1299<pre>
1300var Tweets = Backbone.Collection.extend({
1301  // The Twitter Search API returns tweets under "results".
backbone.js https://github.com/dazh/Spacelog.git | JavaScript | 967 lines
847  // Set up inheritance for the model, collection, and view.
848  Backbone.Model.extend = Backbone.Collection.extend =
849    Backbone.Controller.extend = Backbone.View.extend = extend;
backbone.js https://github.com/StevenBlack/backbone.git | JavaScript | 1,060 lines
912  // Set up inheritance for the model, collection, and view.
913  Backbone.Model.extend = Backbone.Collection.extend =
914    Backbone.Controller.extend = Backbone.View.extend = extend;
index.html https://gitlab.com/JJVV27/backbone.git | HTML | 4,879 lines
729<pre>
730var Books = Backbone.Collection.extend({
731  url: '/books'
786<pre>
787var Books = Backbone.Collection.extend({
788  url: '/books',
1732    <p id="Collection-extend">
1733      <b class="header">extend</b><code>Backbone.Collection.extend(properties, [classProperties])</code>
1734      <br />
1750<pre>
1751var Library = Backbone.Collection.extend({
1752  model: Book
1761<pre>
1762var Library = Backbone.Collection.extend({
1763
model.js https://gitlab.com/JJVV27/backbone.git | JavaScript | 1,298 lines
3  var proxy = Backbone.Model.extend();
4  var klass = Backbone.Collection.extend({
5    url : function() { return '/collection'; }
356
357    var Collection = Backbone.Collection.extend({
358      model: Model
backbone.js https://bitbucket.org/mozillapancake/pancake | JavaScript | 1,180 lines
1034  // Set up inheritance for the model, collection, and view.
1035  Backbone.Model.extend = Backbone.Collection.extend =
1036    Backbone.Router.extend = Backbone.View.extend = extend;
backbone.js https://bitbucket.org/kaosat_dev/pollapli | JavaScript | 1,159 lines
1008  // Set up inheritance for the model, collection, and view.
1009  Backbone.Model.extend = Backbone.Collection.extend =
1010    Backbone.Router.extend = Backbone.View.extend = extend;
backbone.js https://bitbucket.org/tweetegy/save_multiple_images_using_backbone | JavaScript | 1,152 lines
1003  // Set up inheritance for the model, collection, and view.
1004  Backbone.Model.extend = Backbone.Collection.extend =
1005    Backbone.Router.extend = Backbone.View.extend = extend;
backbone.js https://bitbucket.org/badenkov/demo | JavaScript | 1,140 lines
995  // Set up inheritance for the model, collection, and view.
996  Backbone.Model.extend = Backbone.Collection.extend =
997    Backbone.Router.extend = Backbone.View.extend = extend;
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21