From 954583f3d56fbfb60321725f13ad092e536e3737 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 7 Nov 2018 22:10:16 +0100 Subject: Removed node_modules --- node_modules/locutus/php/funchand/call_user_func.js | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 node_modules/locutus/php/funchand/call_user_func.js (limited to 'node_modules/locutus/php/funchand/call_user_func.js') diff --git a/node_modules/locutus/php/funchand/call_user_func.js b/node_modules/locutus/php/funchand/call_user_func.js deleted file mode 100644 index 841ec42..0000000 --- a/node_modules/locutus/php/funchand/call_user_func.js +++ /dev/null @@ -1,21 +0,0 @@ -'use strict'; - -module.exports = function call_user_func(cb, parameters) { - // eslint-disable-line camelcase - // discuss at: http://locutus.io/php/call_user_func/ - // original by: Brett Zamir (http://brett-zamir.me) - // improved by: Diplom@t (http://difane.com/) - // improved by: Brett Zamir (http://brett-zamir.me) - // note 1: Depends on call_user_func_array which in turn depends on the `cb` that is passed, - // note 1: this function can use `eval`. - // note 1: The `eval` input is however checked to only allow valid function names, - // note 1: So it should not be unsafer than uses without eval (seeing as you can) - // note 1: already pass any function to be executed here. - // example 1: call_user_func('isNaN', 'a') - // returns 1: true - - var callUserFuncArray = require('../funchand/call_user_func_array'); - parameters = Array.prototype.slice.call(arguments, 1); - return callUserFuncArray(cb, parameters); -}; -//# sourceMappingURL=call_user_func.js.map \ No newline at end of file -- cgit v1.2.3