From cc97a4dd2a967e1c2273bd5f4c5f49a5bf2e2585 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Wed, 27 Mar 2019 21:01:33 +0100 Subject: remove node_modules --- node_modules/es5-ext/object/is-plain-function.js | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 node_modules/es5-ext/object/is-plain-function.js (limited to 'node_modules/es5-ext/object/is-plain-function.js') diff --git a/node_modules/es5-ext/object/is-plain-function.js b/node_modules/es5-ext/object/is-plain-function.js deleted file mode 100644 index a2f32348a..000000000 --- a/node_modules/es5-ext/object/is-plain-function.js +++ /dev/null @@ -1,11 +0,0 @@ -"use strict"; - -var isClassStr = RegExp.prototype.test.bind(/^\s*class[\s{/}]/) - , fnToString = Function.prototype.toString; - -module.exports = function (fn) { - if (typeof fn !== "function") return false; - if (typeof fn.call !== "function") return false; - if (typeof fn.apply !== "function") return false; - return !isClassStr(fnToString.call(fn)); -}; -- cgit v1.2.3