diff options
Diffstat (limited to 'node_modules/locutus/php/funchand/call_user_func.js.map')
-rw-r--r-- | node_modules/locutus/php/funchand/call_user_func.js.map | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/node_modules/locutus/php/funchand/call_user_func.js.map b/node_modules/locutus/php/funchand/call_user_func.js.map deleted file mode 100644 index c1876cb..0000000 --- a/node_modules/locutus/php/funchand/call_user_func.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../../src/php/funchand/call_user_func.js"],"names":["module","exports","call_user_func","cb","parameters","callUserFuncArray","require","Array","prototype","slice","call","arguments"],"mappings":";;AAAAA,OAAOC,OAAP,GAAiB,SAASC,cAAT,CAAyBC,EAAzB,EAA6BC,UAA7B,EAAyC;AAAE;AAC1D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,MAAIC,oBAAoBC,QAAQ,kCAAR,CAAxB;AACAF,eAAaG,MAAMC,SAAN,CAAgBC,KAAhB,CAAsBC,IAAtB,CAA2BC,SAA3B,EAAsC,CAAtC,CAAb;AACA,SAAON,kBAAkBF,EAAlB,EAAsBC,UAAtB,CAAP;AACD,CAhBD","file":"call_user_func.js","sourcesContent":["module.exports = function call_user_func (cb, parameters) { // eslint-disable-line camelcase\n // discuss at: http://locutus.io/php/call_user_func/\n // original by: Brett Zamir (http://brett-zamir.me)\n // improved by: Diplom@t (http://difane.com/)\n // improved by: Brett Zamir (http://brett-zamir.me)\n // note 1: Depends on call_user_func_array which in turn depends on the `cb` that is passed,\n // note 1: this function can use `eval`.\n // note 1: The `eval` input is however checked to only allow valid function names,\n // note 1: So it should not be unsafer than uses without eval (seeing as you can)\n // note 1: already pass any function to be executed here.\n // example 1: call_user_func('isNaN', 'a')\n // returns 1: true\n\n var callUserFuncArray = require('../funchand/call_user_func_array')\n parameters = Array.prototype.slice.call(arguments, 1)\n return callUserFuncArray(cb, parameters)\n}\n"]}
\ No newline at end of file |