Author: nickpj
Description:
Will shortly attach a diff of a patch used to make JS-lint (
http://www.jslint.com/ ) happier with wikibits.js
Mostly it just adds braces around every if and else statement, in order to be
explicit. There are also a few var declarations added, and a few semi-colons added.
There are a few other additional things that it complains about, and which
aren't addressed in this patch, e.g.:
Problem at line 183 character 21: Use the array literal notation [].
var sections = new Array();
Problem at line 194 character 25: Use the object literal notation {}.
sections[seci] = new Object();
Version: 1.8.x
Severity: minor