From 9a7ef62b9ea205c5d5bd81587c6c65d77e3ecfb0 Mon Sep 17 00:00:00 2001 From: Bagel03 <70449196+Bagel03@users.noreply.github.com> Date: Thu, 3 Feb 2022 23:50:34 -0500 Subject: [PATCH] Update mod.js --- gulp/mod.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gulp/mod.js b/gulp/mod.js index 87912bb3..338173b8 100644 --- a/gulp/mod.js +++ b/gulp/mod.js @@ -1,3 +1,3 @@ module.exports = function (source, map) { - return source + `\nexport let $s=(n,v)=>eval(n+"=v")`; + return source + `\nexport const __$S__=(n,v)=>eval("function(v){" + n + "=v}")(v)`; };