Showing 229 of 406 total issues
Function hh
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
var hh = function(a, b, c, d, x, s, t) {
Function ff
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
var ff = function(a, b, c, d, x, s, t) {
Avoid deeply nested control flow statements. Open
Open
if (!self.__refreshActive) {
self.__startDeceleration(timeStamp);
}
Avoid deeply nested control flow statements. Open
Open
if (!self.__enableScrollX && self.__refreshHeight != null) {
if (!self.__refreshActive && scrollTop <= -self.__refreshHeight) {
self.__refreshActive = true;
Avoid deeply nested control flow statements. Open
Open
for (length = value.length; length--;) {
update(value, length, callback);
}
Avoid deeply nested control flow statements. Open
Open
if (typeof value !== "boolean") {
boollike[name] = false;
}
Avoid deeply nested control flow statements. Open
Open
if (key.substring(0,2) == "__") {
throw new Error("Included class " + includedClass.className + " overwrites private member " + key + " of other included class " + allIncludeMembers[key].className + " in class " + name);
}
Avoid deeply nested control flow statements. Open
Open
if (types.indexOf(relevant[j]) != -1)
{
data[relevant[j]] = value;
break;
}
Avoid deeply nested control flow statements. Open
Open
if (element !== undef) {
// According to ES 5.1 section 15.12.3: "If `gap` {whitespace}
// is not the empty string, let `member` {quote(property) + ":"}
// be the concatenation of `member` and the `space` character."
// The "`space` character" refers to the literal space
Avoid deeply nested control flow statements. Open
Open
if (sign) {
abort();
}
Avoid deeply nested control flow statements. Open
Open
if (key.substring(0,2) == "__") {
throw new Error("Included class " + includedClass.className + " overwrites private member of class " + name);
}
Avoid deeply nested control flow statements. Open
Open
if (symbol == "-") {
sign = true;
symbol = source.charAt(++Index);
}
Avoid deeply nested control flow statements. Open
Open
while (j--) {
wrapper = wrapper.lastChild;
}
Avoid deeply nested control flow statements. Open
Open
for (var key2 in ownProperty) {
property[key2] = ownProperty[key2];
}
Avoid deeply nested control flow statements. Open
Open
if (source.slice(Index, Index + 4) == "true") {
Index += 4;
return true;
} else if (source.slice(Index, Index + 5) == "false") {
Index += 5;
Avoid deeply nested control flow statements. Open
Open
if (!config.nullable) {
obj.error("Missing value for: " + propertyName + " (during reset() - from theme system)");
}
Avoid deeply nested control flow statements. Open
Open
if (!(value instanceof type || core.Class.includesClass(value.constructor, type))) {
throw new Error("Value of property " + name + " must be instance of or include " + type + ". Invalid value: " + value);
}
Avoid deeply nested control flow statements. Open
Open
for (index = 0, length = value.length; index < length; any || (any = true), index++) {
element = serialize(index, value, callback, properties, whitespace, indentation, stack);
results.push(element === undef ? "null" : element);
}
Avoid deeply nested control flow statements. Open
Open
if (source.charAt(Index) == '"') {
Index++;
// Return the revived string.
return value;
}
Function _section
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
_section: function(key, method, data, partials, labels, section)