cleaned up some jslint errors

This commit is contained in:
Keivan Beigi 2013-05-01 15:42:30 -07:00
parent 2683a3ca12
commit 50fd2f77b1
22 changed files with 65 additions and 42 deletions

View file

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

View file

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