mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-15 01:23:53 -07:00
cleaned up some jslint errors
This commit is contained in:
parent
2683a3ca12
commit
50fd2f77b1
22 changed files with 65 additions and 42 deletions
|
@ -1,6 +1,7 @@
|
|||
define(['app', 'Settings/Indexers/Model'], function () {
|
||||
"use strict";
|
||||
define(['app', 'Settings/Indexers/Model'], function () {
|
||||
NzbDrone.Settings.Indexers.Collection = Backbone.Collection.extend({
|
||||
url : NzbDrone.Constants.ApiRoot + '/indexer',
|
||||
model: NzbDrone.Settings.Indexers.Model
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
|
@ -18,7 +18,7 @@ define([
|
|||
},
|
||||
|
||||
saveSettings: function () {
|
||||
var test = 1;
|
||||
|
||||
//this.model.save(undefined, this.syncNotification("Naming Settings Saved", "Couldn't Save Naming Settings"));
|
||||
},
|
||||
|
||||
|
|
|
@ -6,6 +6,6 @@ define([
|
|||
], function () {
|
||||
|
||||
NzbDrone.Settings.Notifications.NotificationsView = Backbone.Marionette.ItemView.extend({
|
||||
template: 'Settings/Notifications/NotificationsTemplate',
|
||||
template: 'Settings/Notifications/NotificationsTemplate'
|
||||
});
|
||||
});
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
'use strict';
|
||||
|
||||
define(['app', 'Settings/Quality/Profile/QualityProfileView'], function (app) {
|
||||
define(['app', 'Settings/Quality/Profile/QualityProfileView'], function () {
|
||||
NzbDrone.Settings.Quality.Profile.QualityProfileCollectionView = Backbone.Marionette.CompositeView.extend({
|
||||
itemView : NzbDrone.Settings.Quality.Profile.QualityProfileView,
|
||||
itemViewContainer: 'tbody',
|
||||
|
@ -17,4 +17,4 @@ define(['app', 'Settings/Quality/Profile/QualityProfileView'], function (app) {
|
|||
|
||||
}
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
define([
|
||||
"use strict";
|
||||
define([
|
||||
'app',
|
||||
'Quality/QualityProfileCollection',
|
||||
'Quality/QualitySizeCollection',
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
'use strict';
|
||||
|
||||
define(['app', 'Settings/Quality/Size/QualitySizeView'], function (app) {
|
||||
define(['app', 'Settings/Quality/Size/QualitySizeView'], function () {
|
||||
NzbDrone.Settings.Quality.Size.QualitySizeCollectionView = Backbone.Marionette.CompositeView.extend({
|
||||
itemView : NzbDrone.Settings.Quality.Size.QualitySizeView,
|
||||
itemViewContainer: '#quality-sizes-container',
|
||||
template : 'Settings/Quality/Size/QualitySizeCollectionTemplate',
|
||||
|
||||
initialize: function () {
|
||||
var test = 1;
|
||||
|
||||
},
|
||||
|
||||
ui: {
|
||||
|
@ -18,4 +18,4 @@ define(['app', 'Settings/Quality/Size/QualitySizeView'], function (app) {
|
|||
|
||||
}
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
define(['app'], function (app) {
|
||||
"use strict";
|
||||
define(['app'], function () {
|
||||
NzbDrone.Settings.SettingsModel = Backbone.Model.extend({
|
||||
url: NzbDrone.Constants.ApiRoot + '/settings'
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
|
@ -6,6 +6,6 @@ define([
|
|||
], function () {
|
||||
|
||||
NzbDrone.Settings.System.SystemView = Backbone.Marionette.ItemView.extend({
|
||||
template: 'Settings/System/SystemTemplate',
|
||||
template: 'Settings/System/SystemTemplate'
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue