mirror of
https://github.com/jquery/jquery.git
synced 2026-02-01 14:54:57 -05:00
Build: Update eslint config and fix associated errors
This commit is contained in:
@@ -53,13 +53,16 @@ var access = function( elems, fn, key, value, chainable, emptyGet, raw ) {
|
||||
}
|
||||
}
|
||||
|
||||
return chainable ?
|
||||
elems :
|
||||
if ( chainable ) {
|
||||
return elems;
|
||||
}
|
||||
|
||||
// Gets
|
||||
bulk ?
|
||||
fn.call( elems ) :
|
||||
len ? fn( elems[ 0 ], key ) : emptyGet;
|
||||
// Gets
|
||||
if ( bulk ) {
|
||||
return fn.call( elems );
|
||||
}
|
||||
|
||||
return len ? fn( elems[ 0 ], key ) : emptyGet;
|
||||
};
|
||||
|
||||
return access;
|
||||
|
||||
Reference in New Issue
Block a user