From e93da8b04da86773247aadb1cbb1912e4f4526b2 Mon Sep 17 00:00:00 2001 From: Priyansh Date: Tue, 22 Dec 2020 17:49:59 +0530 Subject: Rewriting Project --- node_modules/jquery/src/var/isFunction.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 node_modules/jquery/src/var/isFunction.js (limited to 'node_modules/jquery/src/var/isFunction.js') diff --git a/node_modules/jquery/src/var/isFunction.js b/node_modules/jquery/src/var/isFunction.js new file mode 100644 index 0000000..dad662e --- /dev/null +++ b/node_modules/jquery/src/var/isFunction.js @@ -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 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"; + }; + +} ); -- cgit v1.2.3