I don\'t understand why I get the error message when I run JSLint with a JavaScript file.
I get the message var os_map = {}; Problem at line 28 character 36: Us
My read of line 28 in that code is:
var os_autoload_forms = new Array('searchform', 'searchform2', 'powersearch', 'search' );
...where it would indeed be appropriate to use the literal array syntax:
var os_autoload_forms = ['searchform', 'searchform2', 'powersearch', 'search' ];
It should be saying the same thing about line 27, though.