From b79a3393aa1f198bfea373d5c14feb60a33c247e Mon Sep 17 00:00:00 2001 From: Josip Janzic Date: Mon, 5 Sep 2016 11:57:50 +0200 Subject: [PATCH] Fix the syntax error on decleration of `addFile()` Fixes #928 --- build/jslib/uglifyjs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/jslib/uglifyjs.js b/build/jslib/uglifyjs.js index 49da3a73..dc49810a 100644 --- a/build/jslib/uglifyjs.js +++ b/build/jslib/uglifyjs.js @@ -9075,7 +9075,7 @@ exports.minify = function(files, options, name) { if (options.spidermonkey) { toplevel = AST_Node.from_mozilla_ast(files); } else { - function addFile(file, fileUrl) { + var addFile = function(file, fileUrl) { var code = options.fromString ? file : rjsFile.readFile(file, "utf8");