mirror of
https://github.com/fergalmoran/Readarr.git
synced 2026-01-07 01:04:54 +00:00
removed NzbDrone. namespace, everything is done using require.
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
'use strict';
|
||||
define(['app', 'Settings/Notifications/Model'], function (App, NotificationModel) {
|
||||
return Backbone.Collection.extend({
|
||||
url : App.Constants.ApiRoot + '/notification',
|
||||
model: NotificationModel
|
||||
'use strict';
|
||||
define(
|
||||
[
|
||||
'Settings/Notifications/Model'
|
||||
], function (NotificationModel) {
|
||||
return Backbone.Collection.extend({
|
||||
url : window.ApiRoot + '/notification',
|
||||
model: NotificationModel
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
'use strict';
|
||||
define(['app', 'backbone.deepmodel'], function (App, DeepModel) {
|
||||
return DeepModel.DeepModel.extend({
|
||||
'use strict';
|
||||
define(
|
||||
[
|
||||
'backbone.deepmodel'
|
||||
], function (DeepModel) {
|
||||
return DeepModel.DeepModel.extend({
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user