mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2026-04-18 21:55:12 -04:00
updated jshint to 2.1.3
single quotes
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user