2013-03-29 19:17:03 +00:00
|
|
|
|
"use strict";
|
2013-06-14 23:18:37 +00:00
|
|
|
|
define(['app', 'AddSeries/RootFolders/RootFolderModel','mixins/backbone.signalr.mixin'], function () {
|
2013-02-14 02:28:56 +00:00
|
|
|
|
|
2013-02-14 17:18:29 +00:00
|
|
|
|
var rootFolderCollection = Backbone.Collection.extend({
|
2013-03-29 23:28:58 +00:00
|
|
|
|
url : NzbDrone.Constants.ApiRoot + '/rootfolder',
|
2013-02-15 02:40:29 +00:00
|
|
|
|
model: NzbDrone.AddSeries.RootFolders.RootFolderModel
|
2013-02-14 02:28:56 +00:00
|
|
|
|
});
|
|
|
|
|
|
2013-05-06 00:33:43 +00:00
|
|
|
|
return new rootFolderCollection().BindSignalR();
|
2013-06-14 23:18:37 +00:00
|
|
|
|
});
|