updated jshint to 2.1.3

single quotes
This commit is contained in:
kay.one 2013-06-21 23:24:24 -07:00
commit 769331d45d
120 changed files with 233 additions and 218 deletions

View file

@ -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;
}
}
});

View file

@ -1,4 +1,4 @@
"use strict";
'use strict';
define(['app', 'backbone', 'Mixins/AsChangeTrackingModel'], function (App, Backbone, AsChangeTrackingModel) {
var model = Backbone.Model.extend({

View file

@ -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',

View file

@ -1,4 +1,4 @@
"use strict";
'use strict';
define([
'app',

View file

@ -1,4 +1,4 @@
"use strict";
'use strict';
define(['marionette', 'Mixins/AsModelBoundView'], function (Marionette, AsModelBoundView) {

View file

@ -1,4 +1,4 @@
"use strict";
'use strict';
define([
'Settings/SettingsModelBase'], function (ModelBase) {
return ModelBase.extend({

View file

@ -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'
}
});

View file

@ -1,4 +1,4 @@
"use strict";
'use strict';
define(['app',
'Settings/SettingsModelBase'], function (App, ModelBase) {
return ModelBase.extend({

View file

@ -1,4 +1,4 @@
"use strict";
'use strict';
define([
'app',

View file

@ -1,4 +1,4 @@
"use strict";
'use strict';
define([
'marionette',

View file

@ -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',

View file

@ -1,4 +1,4 @@
"use strict";
'use strict';
define([
'app',

View file

@ -1,4 +1,4 @@
"use strict";
'use strict';
define([
'app',

View file

@ -1,4 +1,4 @@
"use strict";
'use strict';
define(['app', 'backbone.deepmodel'], function (App, DeepModel) {
return DeepModel.DeepModel.extend({
});

View file

@ -1,4 +1,4 @@
"use strict";
'use strict';
define([
'app',
'marionette',

View file

@ -1,4 +1,4 @@
"use strict";
'use strict';
define([
'app',
'marionette',

View file

@ -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'
});
});

View file

@ -1,4 +1,4 @@
"use strict";
'use strict';
define(['app',
'backbone.deepmodel',
'Mixins/AsChangeTrackingModel',