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/function/invoke.js | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 node_modules/es5-ext/function/invoke.js (limited to 'node_modules/es5-ext/function/invoke.js') diff --git a/node_modules/es5-ext/function/invoke.js b/node_modules/es5-ext/function/invoke.js deleted file mode 100644 index c3d23f2d6..000000000 --- a/node_modules/es5-ext/function/invoke.js +++ /dev/null @@ -1,15 +0,0 @@ -"use strict"; - -var isCallable = require("../object/is-callable") - , value = require("../object/valid-value") - - , slice = Array.prototype.slice, apply = Function.prototype.apply; - -module.exports = function (name/*, …args*/) { - var args = slice.call(arguments, 1), isFn = isCallable(name); - return function (obj) { - value(obj); - return apply.call(isFn ? name : obj[name], obj, - args.concat(slice.call(arguments, 1))); - }; -}; -- cgit v1.2.3