Fix issue "undefined variable result" in built scripts as well #12

Merged
pixelspark merged 1 commit from master into master 2021-02-20 12:45:33 +00:00
2 changed files with 2 additions and 2 deletions

View file

@ -264,7 +264,7 @@ GradientParser.parse = (function() {
error('Missing (');
}
result = callback(captures);
var result = callback(captures);
if (!scan(tokens.endCall)) {
error('Missing )');

View file

@ -100,7 +100,7 @@ GradientParser.parse = (function() {
error('Missing (');
}
result = callback(captures);
var result = callback(captures);
if (!scan(tokens.endCall)) {
error('Missing )');