initial commit
This commit is contained in:
13
node_modules/jquery/src/var/isFunction.js
generated
vendored
Normal file
13
node_modules/jquery/src/var/isFunction.js
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
define( function() {
|
||||
"use strict";
|
||||
|
||||
return function isFunction( obj ) {
|
||||
|
||||
// Support: Chrome <=57, Firefox <=52
|
||||
// In some browsers, typeof returns "function" for HTML <object> elements
|
||||
// (i.e., `typeof document.createElement( "object" ) === "function"`).
|
||||
// We don't want to classify *any* DOM node as a function.
|
||||
return typeof obj === "function" && typeof obj.nodeType !== "number";
|
||||
};
|
||||
|
||||
} );
|
Reference in New Issue
Block a user