1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-16 11:37:58 +02:00
Sonarr/UI/AddSeries/RootFolders/Collection.js

18 lines
461 B
JavaScript
Raw Normal View History

'use strict';
2013-06-21 04:43:58 +03:00
define(
[
2013-06-21 08:19:41 +03:00
'backbone',
2013-06-21 04:43:58 +03:00
'AddSeries/RootFolders/Model',
'Mixins/backbone.signalr.mixin'
2013-06-21 08:19:41 +03:00
], function (Backbone, RootFolderModel) {
2013-06-21 04:43:58 +03:00
var RootFolderCollection = Backbone.Collection.extend({
url : window.ApiRoot + '/rootfolder',
2013-06-21 08:19:41 +03:00
model: RootFolderModel
2013-06-21 04:43:58 +03:00
});
2013-09-07 05:52:17 +03:00
//var collection = new RootFolderCollection().bindSignalR();
2013-06-21 08:19:41 +03:00
2013-09-08 04:50:43 +03:00
return new RootFolderCollection();
2013-06-21 04:43:58 +03:00
});