mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 13:33:34 -07:00
updated jshint to 2.1.3
single quotes
This commit is contained in:
parent
3c686808f2
commit
769331d45d
120 changed files with 233 additions and 218 deletions
|
@ -37,32 +37,32 @@ define([
|
|||
refreshUIVisibility: function (clientId) {
|
||||
|
||||
if (!clientId) {
|
||||
clientId = "sabnzbd";
|
||||
clientId = 'sabnzbd';
|
||||
}
|
||||
|
||||
switch (clientId.toString()) {
|
||||
case "sabnzbd":
|
||||
case 'sabnzbd':
|
||||
this.ui.sabConfig.show();
|
||||
this.ui.blackholeConfig.hide();
|
||||
this.ui.pneumaticConfig.hide();
|
||||
this.ui.nzbGetConfig.hide();
|
||||
break;
|
||||
|
||||
case "blackhole":
|
||||
case 'blackhole':
|
||||
this.ui.sabConfig.hide();
|
||||
this.ui.blackholeConfig.show();
|
||||
this.ui.pneumaticConfig.hide();
|
||||
this.ui.nzbGetConfig.hide();
|
||||
break;
|
||||
|
||||
case "pneumatic":
|
||||
case 'pneumatic':
|
||||
this.ui.sabConfig.hide();
|
||||
this.ui.blackholeConfig.hide();
|
||||
this.ui.pneumaticConfig.show();
|
||||
this.ui.nzbGetConfig.hide();
|
||||
break;
|
||||
|
||||
case "nzbget":
|
||||
case 'nzbget':
|
||||
this.ui.sabConfig.hide();
|
||||
this.ui.blackholeConfig.hide();
|
||||
this.ui.pneumaticConfig.hide();
|
||||
|
@ -70,7 +70,7 @@ define([
|
|||
break;
|
||||
|
||||
default :
|
||||
throw "unknown download client id" + clientId;
|
||||
throw 'unknown download client id' + clientId;
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
"use strict";
|
||||
'use strict';
|
||||
define(['app', 'backbone', 'Mixins/AsChangeTrackingModel'], function (App, Backbone, AsChangeTrackingModel) {
|
||||
var model = Backbone.Model.extend({
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
"use strict";
|
||||
'use strict';
|
||||
define(['app', 'Settings/Indexers/Model'], function (App, IndexerModel) {
|
||||
return Backbone.Collection.extend({
|
||||
url : App.Constants.ApiRoot + '/indexer',
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
"use strict";
|
||||
'use strict';
|
||||
|
||||
define([
|
||||
'app',
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
"use strict";
|
||||
'use strict';
|
||||
|
||||
define(['marionette', 'Mixins/AsModelBoundView'], function (Marionette, AsModelBoundView) {
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
"use strict";
|
||||
'use strict';
|
||||
define([
|
||||
'Settings/SettingsModelBase'], function (ModelBase) {
|
||||
return ModelBase.extend({
|
||||
|
|
|
@ -7,7 +7,7 @@ define(['marionette', 'Mixins/AsModelBoundview'], function (Marionette, AsModelB
|
|||
className: 'form-horizontal',
|
||||
|
||||
ui: {
|
||||
tooltip: '[class^="help-inline"] i'
|
||||
tooltip: '[class^='help-inline'] i'
|
||||
}
|
||||
|
||||
});
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
"use strict";
|
||||
'use strict';
|
||||
define(['app',
|
||||
'Settings/SettingsModelBase'], function (App, ModelBase) {
|
||||
return ModelBase.extend({
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
"use strict";
|
||||
'use strict';
|
||||
|
||||
define([
|
||||
'app',
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
"use strict";
|
||||
'use strict';
|
||||
|
||||
define([
|
||||
'marionette',
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
"use strict";
|
||||
'use strict';
|
||||
define(['app', 'Settings/Notifications/Model'], function (App, NotificationModel) {
|
||||
return Backbone.Collection.extend({
|
||||
url : App.Constants.ApiRoot + '/notification',
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
"use strict";
|
||||
'use strict';
|
||||
|
||||
define([
|
||||
'app',
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
"use strict";
|
||||
'use strict';
|
||||
|
||||
define([
|
||||
'app',
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
"use strict";
|
||||
'use strict';
|
||||
define(['app', 'backbone.deepmodel'], function (App, DeepModel) {
|
||||
return DeepModel.DeepModel.extend({
|
||||
});
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
"use strict";
|
||||
'use strict';
|
||||
define([
|
||||
'app',
|
||||
'marionette',
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
"use strict";
|
||||
'use strict';
|
||||
define([
|
||||
'app',
|
||||
'marionette',
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
"use strict";
|
||||
'use strict';
|
||||
define(['app',
|
||||
'Settings/SettingsModelBase'], function (App, SettingsModelBase) {
|
||||
return SettingsModelBase.extend({
|
||||
url : App.Constants.ApiRoot + '/settings',
|
||||
successMessage: 'Settings saved',
|
||||
errorMessage : "Failed to save settings"
|
||||
errorMessage : 'Failed to save settings'
|
||||
});
|
||||
});
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
"use strict";
|
||||
'use strict';
|
||||
define(['app',
|
||||
'backbone.deepmodel',
|
||||
'Mixins/AsChangeTrackingModel',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue