mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 21:43:33 -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
|
@ -1,4 +1,4 @@
|
|||
"use strict";
|
||||
'use strict';
|
||||
|
||||
define(['app'], function () {
|
||||
|
||||
|
@ -7,8 +7,8 @@ define(['app'], function () {
|
|||
source : function (filter, callback) {
|
||||
$.ajax({
|
||||
url : NzbDrone.Constants.ApiRoot + resource,
|
||||
dataType: "json",
|
||||
type : "GET",
|
||||
dataType: 'json',
|
||||
type : 'GET',
|
||||
data : { query: filter },
|
||||
success : function (data) {
|
||||
callback(data);
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
//try to add ajax data as query string to DELETE calls.
|
||||
"use strict";
|
||||
'use strict';
|
||||
define(function () {
|
||||
|
||||
return function () {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
"use strict";
|
||||
'use strict';
|
||||
|
||||
(function () {
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
"use strict";
|
||||
'use strict';
|
||||
define(['app', 'signalR'], function () {
|
||||
|
||||
_.extend(Backbone.Collection.prototype, {BindSignalR: function (options) {
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
return new Date(obj.getTime());
|
||||
}
|
||||
if (_.isRegExp(obj)) {
|
||||
return new RegExp(obj.source, obj.toString().replace(/.*\//, ""));
|
||||
return new RegExp(obj.source, obj.toString().replace(/.*\//, ''));
|
||||
}
|
||||
isArr = _.isArray(obj || _.isArguments(obj));
|
||||
func = function(memo, value, key) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue