1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-18 21:35:51 -04:00

removed NzbDrone. namespace, everything is done using require.

This commit is contained in:
Keivan Beigi
2013-06-24 16:41:59 -07:00
parent ef62af75df
commit b0bd3f34f1
121 changed files with 2570 additions and 2587 deletions
+4 -4
View File
@@ -1,4 +1,4 @@
'use strict';
'use strict';
define(
[
'backbone',
@@ -6,12 +6,12 @@ define(
'mixins/backbone.signalr.mixin'
], function (Backbone, RootFolderModel) {
var rootFolderCollection = Backbone.Collection.extend({
url : NzbDrone.Constants.ApiRoot + '/rootfolder',
var RootFolderCollection = Backbone.Collection.extend({
url : window.ApiRoot + '/rootfolder',
model: RootFolderModel
});
var collection = new rootFolderCollection().BindSignalR();
var collection = new RootFolderCollection().BindSignalR();
return collection;
});