2013-04-01 18:12:15 -04:00
|
|
|
(function() {
|
|
|
|
'use strict';
|
2013-03-13 11:58:46 -04:00
|
|
|
|
2013-04-01 18:12:15 -04:00
|
|
|
app.model.Folder = Backbone.Model.extend({
|
2013-03-13 11:58:46 -04:00
|
|
|
|
2013-04-01 18:12:15 -04:00
|
|
|
defaults: {
|
|
|
|
name: null,
|
|
|
|
items: null
|
|
|
|
},
|
2013-03-13 11:58:46 -04:00
|
|
|
|
2013-04-01 18:12:15 -04:00
|
|
|
initialize: function() {}
|
2013-03-13 11:58:46 -04:00
|
|
|
|
2013-04-01 18:12:15 -04:00
|
|
|
});
|
2013-03-13 11:58:46 -04:00
|
|
|
|
2013-04-01 18:12:15 -04:00
|
|
|
app.model.FolderCollection = Backbone.Collection.extend({
|
2013-03-13 11:58:46 -04:00
|
|
|
|
2013-04-19 05:45:53 -04:00
|
|
|
model: app.model.Folder
|
2013-04-01 18:12:15 -04:00
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
}());
|