This report was build with JSLint, the JavaScript Verifier. JSLint is a JavaScript program that looks for problems in other JavaScript programs.
Here is the list of files in this report:
No problems found
Lint at line 34 character 30: Expected '{' and instead saw 'url'. if (!/\?/.test(url)) url += "?"; Lint at line 35 character 14: Expected '{' and instead saw 'url'. else url += "&"; Lint at line 92 character 10: Unnecessary semicolon. }; Lint at line 216 character 18: Expected '{' and instead saw 'var'. else var expires = ""; Lint at line 216 character 30: 'expires' is already defined. else var expires = ""; Lint at line 233 character 42: Expected '{' and instead saw 'c'. while (c.charAt(0)==' ') c = c.substring(1,c.length); Lint at line 234 character 39: Use '===' to compare with '0'. if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length); Lint at line 234 character 45: Expected '{' and instead saw 'return'. if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length); Lint at line 494 character 9: Bad line breaking before '+'. + "in your gadget XML:\n" Lint at line 495 character 9: Bad line breaking before '+'. + " \n" Lint at line 496 character 9: Bad line breaking before '+'. + "#oauth"; Lint at line 601 character 45: Bad line breaking before '+'. + "Proceeding with anonymous data."); Lint at line 614 character 46: Bad line breaking before '+'. + "button in center of gadget"); Lint at line 644 character 30: Unnecessary semicolon. }; Lint at line 702 character 41: Bad line breaking before '+'. + AJS.format("@method AJS.$.ajax (pointcut):\nYou have specified '{0}' as the " Lint at line 703 character 41: Bad line breaking before '+'. + "resource to validate authentication type (if any), however it does not exist." Lint at line 703 character 43: Bad line breaking before ','. + "resource to validate authentication type (if any), however it does not exist." Lint at line 740 character 20: Missing radix parameter. return parseInt(AJS.$("body").attr("scrollHeight")) > AJS.$("body").outerHeight(); Lint at line 792 character 10: Unnecessary semicolon. };
No problems found
Lint at line 3 character 2: Bad identifier %. <% var i18nHelper = new gadgets.Prefs(); %> Lint at line 3 character 2: Expected 'html' and instead saw '%'. <% var i18nHelper = new gadgets.Prefs(); %> Lint at line 3 character 2: Stopping, unable to continue. (0% scanned).
Lint at line 77 character 9: Bad line breaking before '+'. + "to in your " Lint at line 78 character 9: Bad line breaking before '+'. + "gadget XML."; Lint at line 112 character 21: Bad line breaking before '+'. + "add to " Lint at line 113 character 21: Bad line breaking before '+'. + "in your gadget XML.";
No problems found
No problems found
Lint at line 135 character 29: Missing radix parameter. if (bodyWidth < parseInt(AJS.$(".view").attr("scrollWidth"))) { Lint at line 139 character 25: Missing radix parameter. parseInt(gadget.getView().attr("scrollWidth")) === gadget.getView().width()) {
Lint at line 243 character 83: Use '===' to compare with ''. if (!fieldValues[this.name] || fieldValues[this.name] == "") { Lint at line 248 character 25: The body of a for in should be wrapped in an if statement to filter unwanted properties from the prototype. for (var name in fieldValues) {
Lint at line 3 character 2: Expected 'html' and instead saw 'table'.