From 4bfe95a98f5c86997ef9f50a820cb880e6fb7e7d Mon Sep 17 00:00:00 2001 From: Tommy van der Vorst Date: Mon, 1 Feb 2021 11:21:42 +0100 Subject: [PATCH] Fix issue "undefined variable result" in built scripts as well --- build/node.js | 2 +- build/web.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build/node.js b/build/node.js index b19e20a..cb181fb 100644 --- a/build/node.js +++ b/build/node.js @@ -264,7 +264,7 @@ GradientParser.parse = (function() { error('Missing ('); } - result = callback(captures); + var result = callback(captures); if (!scan(tokens.endCall)) { error('Missing )'); diff --git a/build/web.js b/build/web.js index 94fa388..c813815 100644 --- a/build/web.js +++ b/build/web.js @@ -100,7 +100,7 @@ GradientParser.parse = (function() { error('Missing ('); } - result = callback(captures); + var result = callback(captures); if (!scan(tokens.endCall)) { error('Missing )');