mirror of
https://github.com/jquery/jquery.git
synced 2026-02-15 10:15:00 -05:00
Build: update grunt-jscs-checker and pass with the new rules
This commit is contained in:
@@ -162,7 +162,9 @@ jQuery.extend = jQuery.fn.extend = function() {
|
||||
}
|
||||
|
||||
// Recurse if we're merging plain objects or arrays
|
||||
if ( deep && copy && ( jQuery.isPlainObject(copy) || (copyIsArray = jQuery.isArray(copy)) ) ) {
|
||||
if ( deep && copy && ( jQuery.isPlainObject(copy) ||
|
||||
(copyIsArray = jQuery.isArray(copy)) ) ) {
|
||||
|
||||
if ( copyIsArray ) {
|
||||
copyIsArray = false;
|
||||
clone = src && jQuery.isArray(src) ? src : [];
|
||||
@@ -458,7 +460,8 @@ jQuery.extend({
|
||||
});
|
||||
|
||||
// Populate the class2type map
|
||||
jQuery.each("Boolean Number String Function Array Date RegExp Object Error".split(" "), function(i, name) {
|
||||
jQuery.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),
|
||||
function(i, name) {
|
||||
class2type[ "[object " + name + "]" ] = name.toLowerCase();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user