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
for(key in o1) {
if (key.charAt(0) === '$' || isFunction(o1[key])) continue;
if (!equals(o1[key], o2[key])) return false;
keySet[key] = true;
}
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 (obj.hasOwnProperty(key)) {
iterator.call(context, obj[key], key);
}
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 );
Function $get
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function($httpBackend, $browser, $cacheFactory, $rootScope, $q, $injector) {
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
if (handler.comment) handler.comment( html.substring( 4, index ) );
Function createHttpBackend
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function createHttpBackend($browser, XHR, $browserDefer, callbacks, rawDocument, locationProtocol) {
Function numberInputType
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function numberInputType(scope, element, attr, ctrl, $sniffer, $browser) {
Avoid deeply nested control flow statements. Open
Open
for(key=0; key<length; key++) {
if (!equals(o1[key], o2[key])) return false;
}
Function setMatcher
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) {
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 ( (event.result = ret) === false ) {
event.preventDefault();
event.stopPropagation();
}
Avoid deeply nested control flow statements. Open
Open
if ( ( ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1 ) && ++diff ) {
// Cache the index of each encountered element
if ( useCache ) {
(node[ expando ] || (node[ expando ] = {}))[ type ] = [ dirruns, diff ];
}
Avoid deeply nested control flow statements. Open
Open
for (key in arg1) {
fn(this[i], key, arg1[key]);
}
Avoid deeply nested control flow statements. Open
Open
if ( cur.indexOf( " " + clazz + " " ) < 0 ) {
cur += clazz + " ";
}
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 ( context.ownerDocument && (elem = context.ownerDocument.getElementById( m )) &&
contains( context, elem ) && elem.id === m ) {
results.push( elem );
return results;
}
Avoid deeply nested control flow statements. Open
Open
if ( name.indexOf( "data-" ) === 0 ) {
name = jQuery.camelCase( name.slice(5) );
dataAttr( elem, name, data[ name ] );
}