mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
cleaned up some jslint errors
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
'use strict';
|
||||
|
||||
Handlebars.registerHelper('partial', function(templateName, context){
|
||||
Handlebars.registerHelper('partial', function (templateName) {
|
||||
//TODO: We should be able to pass in the context, either an object or a property
|
||||
|
||||
var templateFunction = Marionette.TemplateCache.get(templateName);
|
||||
@@ -17,4 +17,4 @@ Handlebars.registerHelper("debug", function(optionalValue) {
|
||||
console.log("====================");
|
||||
console.log(optionalValue);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
@@ -1,7 +1,7 @@
|
||||
$.tablesorter.addParser({
|
||||
// set a unique id
|
||||
id : 'title',
|
||||
is : function (s) {
|
||||
is : function () {
|
||||
// return false so this parser is not auto detected
|
||||
return false;
|
||||
},
|
||||
@@ -16,7 +16,7 @@ $.tablesorter.addParser({
|
||||
$.tablesorter.addParser({
|
||||
// set a unique id
|
||||
id : 'date',
|
||||
is : function (s) {
|
||||
is : function () {
|
||||
// return false so this parser is not auto detected
|
||||
return false;
|
||||
},
|
||||
@@ -37,7 +37,7 @@ $.tablesorter.addParser({
|
||||
$.tablesorter.addParser({
|
||||
// set a unique id
|
||||
id : 'innerHtml',
|
||||
is : function (s) {
|
||||
is : function () {
|
||||
// return false so this parser is not auto detected
|
||||
return false;
|
||||
},
|
||||
@@ -47,4 +47,4 @@ $.tablesorter.addParser({
|
||||
},
|
||||
// set type, either numeric or text
|
||||
type : 'text'
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user