Showing 229 of 406 total issues
Avoid deeply nested control flow statements. Open
Open
if (agent.indexOf("mobile/") != -1) {
mobile = true;
}
Avoid deeply nested control flow statements. Open
Open
if (match)
{
name = match[2].toLowerCase();
version = parseFloat(match[3]);
}
Function start
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
start: function(stepCallback, verifyCallback, completedCallback, duration, easingMethod, root)
Avoid deeply nested control flow statements. Open
Open
else if ((global.chrome || global.chromium) && (/opr\/([0-9.]+)/.exec(agent) || /(chrome)\/([0-9.]+)/.exec(agent)))
{
if (RegExp.$2)
{
name = "chrome";
Avoid deeply nested control flow statements. Open
Open
if (callback) {
callback.call(context, uri, false);
}
Avoid deeply nested control flow statements. Open
Open
if (version >= 7) {
version = 6.1;
} else if (version >= 6) {
version = 6.0;
} else {
Avoid deeply nested control flow statements. Open
Open
if (match) {
version = 5.0;
}
Avoid deeply nested control flow statements. Open
Open
for (var j=0, jl=lines.length; j<jl; j++) {
console.log(" " + lines[j])
}
Consider simplifying this complex logical expression. Open
Open
if (!(symbol >= "0" && symbol <= "9" || symbol >= "a" && symbol <= "f" || symbol >= "A" && symbol <= "F")) {
// Invalid Unicode escape sequence.
abort();
}
Consider simplifying this complex logical expression. Open
Open
if (self.__isDragging) {
// Compute move distance
var moveX = currentTouchLeft - self.__lastTouchLeft;
var moveY = currentTouchTop - self.__lastTouchTop;
Consider simplifying this complex logical expression. Open
Open
if (callback)
{
callback.call(context || global, uri, errornous, {
node: img,
width : img.naturalWidth || img.width || 0,
Function extendClass
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
var extendClass = function(clazz, construct, superClass, name, basename)
Function fadeOut
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
fadeOut : function(elem, to, reset, callback, context)
Function set
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
var set = function(element, x, y, z, zoom)
Function has
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
has : function(target, type, callback, context, capture)
Function set
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
var set = function(element, x, y, z, zoom)
Function add
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
add : function(target, type, callback, context, capture)
Function fadeIn
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
fadeIn : function(elem, from, to, callback, context)
Function add
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
add : function(target, type, callback, context, capture)
Function checkSignature
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
var checkSignature = function(target, type, callback, context, capture)