Moved source code under src folder - massive change

This commit is contained in:
Mark McDowall 2013-10-02 18:01:32 -07:00
commit 5bf0e197ec
1499 changed files with 1054 additions and 1444 deletions

View file

@ -0,0 +1,23 @@
'use strict';
define(
[
'backbone',
'Series/SeriesModel'
], function (Backbone, SeriesModel) {
var Collection = Backbone.Collection.extend({
url : window.NzbDrone.ApiRoot + '/series',
model: SeriesModel,
comparator: function (model) {
return model.get('title');
},
state: {
sortKey: 'title',
order : -1
}
});
var collection = new Collection();
return collection;
});