Merge pull request #12 from pixelspark/master

Fix issue "undefined variable result" in built scripts as well
This commit is contained in:
Rafael Caricio 2021-02-20 13:45:33 +01:00 committed by GitHub
commit 015088b929
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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 )');