From 824a2d9f587ca017fc71b84d835e72f54f9c87c4 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 7 Nov 2018 18:02:36 +0100 Subject: Began rewrite --- node_modules/locutus/php/funchand/create_function.js.map | 1 + 1 file changed, 1 insertion(+) create mode 100644 node_modules/locutus/php/funchand/create_function.js.map (limited to 'node_modules/locutus/php/funchand/create_function.js.map') diff --git a/node_modules/locutus/php/funchand/create_function.js.map b/node_modules/locutus/php/funchand/create_function.js.map new file mode 100644 index 0000000..0b447a5 --- /dev/null +++ b/node_modules/locutus/php/funchand/create_function.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../../src/php/funchand/create_function.js"],"names":["module","exports","create_function","args","code","Function","apply","split","concat","e"],"mappings":";;AAAAA,OAAOC,OAAP,GAAiB,SAASC,eAAT,CAA0BC,IAA1B,EAAgCC,IAAhC,EAAsC;AAAE;AACvD;AACA;AACA;AACA;AACA;AACA;;AAEA,MAAI;AACF,WAAOC,SAASC,KAAT,CAAe,IAAf,EAAqBH,KAAKI,KAAL,CAAW,GAAX,EAAgBC,MAAhB,CAAuBJ,IAAvB,CAArB,CAAP;AACD,GAFD,CAEE,OAAOK,CAAP,EAAU;AACV,WAAO,KAAP;AACD;AACF,CAbD","file":"create_function.js","sourcesContent":["module.exports = function create_function (args, code) { // eslint-disable-line camelcase\n // discuss at: http://locutus.io/php/create_function/\n // original by: Johnny Mast (http://www.phpvrouwen.nl)\n // reimplemented by: Brett Zamir (http://brett-zamir.me)\n // example 1: var $f = create_function('a, b', 'return (a + b)')\n // example 1: $f(1, 2)\n // returns 1: 3\n\n try {\n return Function.apply(null, args.split(',').concat(code))\n } catch (e) {\n return false\n }\n}\n"]} \ No newline at end of file -- cgit v1.2.3