* (Bug 6839) Cleaning up wikibits.js to reduce number of warnings reported by JSLint...
authorNick Jenkins <nickj@users.mediawiki.org>
Wed, 15 Nov 2006 07:56:24 +0000 (07:56 +0000)
committerNick Jenkins <nickj@users.mediawiki.org>
Wed, 15 Nov 2006 07:56:24 +0000 (07:56 +0000)
commit845a064a5667ce4442c1b90f1eb1e013673ae589
treeb075d7ef569cb64520636cea3e6dbeafb4ac91c7
parentad5f2716f658862cbaeb3d366571a431264c2471
* (Bug 6839) Cleaning up wikibits.js to reduce number of warnings reported by JSLint online tool ( jslint.com/ ) . This mostly consists of adding braces, adding var declarations, adding the occasional semicolon, and so forth.
* Also added a default return value to the anonymous function in addRightClickEditHandler() to keep Firebug happy.
* The allmessagesforeach() function (which is what's used on [[Special:Allmessages]] when you type something in the "Message name filter:" area) as defined could not and did not work (needs the "text" param passed in). Added this; however, it can take a few seconds to filter in Firefox, but in Internet Explorer it is exceedingly slow to filter (e.g.: timed at 2 minutes and 30 seconds at 100% CPU usage on a 2 GHz machine to filter on the letter "e"). Will log a bug for this very shortly.
RELEASE-NOTES
skins/common/wikibits.js