aboutsummaryrefslogtreecommitdiffstats
path: root/src/var/isFunction.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/var/isFunction.js')
-rw-r--r--src/var/isFunction.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/var/isFunction.js b/src/var/isFunction.js
index a05858284..dad662e4f 100644
--- a/src/var/isFunction.js
+++ b/src/var/isFunction.js
@@ -3,11 +3,11 @@ define( function() {
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";
- };
+ // 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";
+ };
} );