1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-01-22 23:16:53 +00:00

Keeping JSHint happy

This commit is contained in:
Jeremy Ruston 2012-03-13 15:15:33 +00:00
parent 91b26de52a
commit 1d11acf8ec
3 changed files with 5 additions and 5 deletions

View File

@ -36,7 +36,7 @@ Node.prototype.clone = function() {
Node.prototype.broadcastEvent = function(event) {
return true;
}
};
Node.prototype.execute =
Node.prototype.render =

View File

@ -240,7 +240,7 @@ utils.domContains = function(a,b) {
utils.hasClass = function(el,className) {
return el.className.split(" ").indexOf(className) !== -1;
}
};
utils.addClass = function(el,className) {
var c = el.className.split(" ");
@ -248,7 +248,7 @@ utils.addClass = function(el,className) {
c.push(className);
}
el.className = c.join(" ");
}
};
utils.removeClass = function(el,className) {
var c = el.className.split(" "),
@ -257,6 +257,6 @@ utils.removeClass = function(el,className) {
c.splice(p,1);
el.className = c.join(" ");
}
}
};
})();

View File

@ -4,7 +4,7 @@ title: js/macros/chooser.js
\*/
(function(){
/*jslint node: true */
/*jslint node: true, browser: true */
"use strict";
var Renderer = require("../Renderer.js").Renderer,