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

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

View file

@ -1,5 +1,5 @@
//try to add ajax data as query string to DELETE calls.
"use strict";
'use strict';
define(function () {
return function () {

View file

@ -1,5 +1,5 @@
/*
"use strict";
'use strict';
(function () {

View file

@ -1,4 +1,4 @@
"use strict";
'use strict';
define(['app', 'signalR'], function () {
_.extend(Backbone.Collection.prototype, {BindSignalR: function (options) {

View file

@ -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) {