[dokuwiki] Result of running http://www.jslint.com/ on the 'captcha' plugin's file named 'script.js'

  • From: "Kingsley G. Morse Jr." <change@xxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Mon, 1 Jun 2009 23:10:16 -0700

Here's the result of an on-line tool that checks
javascript, when asked to check the "captcha"
plugin's file named "script.js".

I first pointed my web browser at 

    http://www.jslint.com/

Then I copied and pasted the contents of
"scritp.js" into the web site's form.

Then I checked the "assume a browser" box.

I finally clicked on the button to run the on-line
tool.

The output follows below....

Thanks,
Kingsley

=================== Output Follows ==================

Error:

Implied global: $ 5, addInitEvent 4

Problem at line 6 character 15: Expected '{' and instead saw 'return'.

if(!code) return;

No new global variables introduced.

4 "addInitEvent"()
Variable box, code
Global $

/*members display, innerHTML, style, value
*/
-- 
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: