gadget-common-fields.js

No problems found

ajs.gadgets.templater.form.js

No problems found

namespace.js

No problems found

ajs.gadgets.templater.base.js

Lint at line 99 character 21: Bad line breaking before '+'.
+ "');}return p.join('');";

Lint at line 101 character 34: The Function constructor is eval.
fn = new Function("obj", fnString);

Lint at line 260 character 34: 'fragment' is already defined.
var fragment = renderTemplate(that.build.template, data);

Lint at line 278 character 38: 'fragment' is already defined.
var fragment = renderTemplate(that.build.template, data);

ajs.gadget.configured.js

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.";

ajs.gadgets.templater.table.js

No problems found

ajs.gadget.configurable.js

Lint at line 262 character 33: 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) {

namespace.js

No problems found

ajs.gadgets.templater.custom.js

No problems found

ajs.gadget.standard.js

Lint at line 134 character 29: Missing radix parameter.
if (bodyWidth < parseInt(AJS.$(".view").attr("scrollWidth"))) {

Lint at line 138 character 25: Missing radix parameter.
parseInt(gadget.getView().attr("scrollWidth")) === gadget.getView().width()) {

namespace.js

No problems found

table.js

No problems found

util.js

Lint at line 62 character 17: Use '===' to compare with 'null'.
if (val == null) {

Lint at line 180 character 25: 'options' was used before it was defined.
var options = usrOptions;

Lint at line 232 character 28: ['OAUTH_USE_TOKEN'] is better written in dot notation.
reqOptions["OAUTH_USE_TOKEN"] = options.useToken;

form.js

No problems found

ajs-gadgets.js

Lint at line 146 character 41: Missing space after 'function'.
AJS.gadgets.oauth.makeRequest = function(url, params) {

Lint at line 147 character 29: Missing space after 'function'.
var doNothing = function() {};

Lint at line 148 character 38: Missing space after 'function'.
var showOAuthPopupLink = function(approvalUrl) {

Lint at line 176 character 45: Missing space after 'function'.
var showOAuthApprovalDoneLink = function() {

Lint at line 180 character 37: Missing space after 'function'.
var hideApprovalLinks = function() {

Lint at line 187 character 6: Bad line breaking before '&&'.
&& gParams[gadgets.io.RequestParameters.AUTHORIZATION] != gadgets.io.AuthorizationType.OAUTH) {

Lint at line 187 character 61: Expected '!==' and instead saw '!='.
&& gParams[gadgets.io.RequestParameters.AUTHORIZATION] != gadgets.io.AuthorizationType.OAUTH) {

Lint at line 196 character 31: Missing space after 'function'.
var makeRequest = function() {

Lint at line 212 character 58: Missing space after 'function'.
params.onPopupClose = params.onPopupClose || function() {

Lint at line 215 character 6: Missing semicolon.
}

ajs.gadget.factory.js

Lint at line 114 character 21: Bad line breaking before '+'.
+ "you need to include to  to  in your gadget XML";

Lint at line 164 character 17: Bad line breaking before '+'.
+ "NOT have write permission");

ajs.gadget.base.js

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 597 character 45: Bad line breaking before '+'.
+ "Proceeding with anonymous data.");

Lint at line 610 character 46: Bad line breaking before '+'.
+ "button in center of gadget");

Lint at line 640 character 30: Unnecessary semicolon.
};

Lint at line 697 character 41: Bad line breaking before '+'.
+ AJS.format("@method AJS.$.ajax (pointcut):\nYou have specified '{0}' as the "

Lint at line 698 character 41: Bad line breaking before '+'.
+ "resource to validate authentication type (if any), however it does not exist."

Lint at line 698 character 43: Bad line breaking before ','.
+ "resource to validate authentication type (if any), however it does not exist."

Lint at line 735 character 20: Missing radix parameter.
return parseInt(AJS.$("body").attr("scrollHeight")) > AJS.$("body").outerHeight();

Lint at line 787 character 10: Unnecessary semicolon.
};