Showing 371 of 463 total issues
Function urlInputType
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function urlInputType(scope, element, attr, ctrl, $sniffer, $browser) {
Avoid deeply nested control flow statements. Open
Open
if (handler.comment) handler.comment( html.substring( 4, index ) );
Function ngViewDirective
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function($http, $templateCache, $route, $anchorScroll, $compile,
$controller) {
Avoid deeply nested control flow statements. Open
Open
if ( match ) {
html = html.substring( match[0].length );
match[0].replace( END_TAG_REGEXP, parseEndTag );
chars = false;
}
Function createHttpBackend
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function createHttpBackend($browser, XHR, $browserDefer, callbacks, rawDocument, locationProtocol) {
Function emailInputType
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function emailInputType(scope, element, attr, ctrl, $sniffer, $browser) {
Function $get
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function($httpBackend, $browser, $cacheFactory, $rootScope, $q, $injector) {
Function numberInputType
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function numberInputType(scope, element, attr, ctrl, $sniffer, $browser) {
Function textInputType
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function textInputType(scope, element, attr, ctrl, $sniffer, $browser) {
Avoid deeply nested control flow statements. Open
Open
} else if ( BEGIN_TAG_REGEXP.test(html) ) {
match = html.match( START_TAG_REGEXP );
if ( match ) {
html = html.substring( match[0].length );
Avoid deeply nested control flow statements. Open
Open
if (isScope(o1) || isScope(o2) || isWindow(o1) || isWindow(o2) || isArray(o2)) return false;
Avoid deeply nested control flow statements. Open
Open
if ( (data = cache[1]) === true || data === cachedruns ) {
return data === true;
}
Avoid deeply nested control flow statements. Open
Open
if ( ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1 ) {
return false;
}
Avoid deeply nested control flow statements. Open
Open
if ( hasScripts ) {
// Support: QtWebKit
// jQuery.merge because core_push.apply(_, arraylike) throws
jQuery.merge( scripts, getAll( node, "script" ) );
}
Avoid deeply nested control flow statements. Open
Open
for ( j = 0; (type = events[j]) !== undefined; j++ ) {
if ( special[ type ] ) {
jQuery.event.remove( elem, type );
// This is a shortcut to avoid jQuery.event.remove's overhead
Avoid deeply nested control flow statements. Open
Open
if (lastCookies[name] === undefined) {
lastCookies[name] = unescape(cookie.substring(index + 1));
}
Function init
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
init: function( elem, options, prop, end, easing, unit ) {
Avoid deeply nested control flow statements. Open
Open
if(start == 0) { // tiny optimisation #2
this.unshift.apply(this, args);
return [];
}
Avoid deeply nested control flow statements. Open
Open
if (keyName) locals[keyName] = key;
Avoid deeply nested control flow statements. Open
Open
} else if ( copy !== undefined ) {
target[ name ] = copy;
}