2013-03-29 19:17:03 +00:00
|
|
|
|
"use strict";
|
|
|
|
|
define(['app', 'AddSeries/RootFolders/RootFolderModel'], 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-02-18 01:45:14 +00:00
|
|
|
|
});
|