Merge ce884169b6 into 14f290f8ab
This commit is contained in:
commit
17fc7632aa
|
|
@ -70,6 +70,8 @@ exports.minify = function(files, options) {
|
||||||
if (options.spidermonkey) {
|
if (options.spidermonkey) {
|
||||||
toplevel = UglifyJS.AST_Node.from_mozilla_ast(files);
|
toplevel = UglifyJS.AST_Node.from_mozilla_ast(files);
|
||||||
} else {
|
} else {
|
||||||
|
if (typeof files == "undefined")
|
||||||
|
{files = ""};
|
||||||
if (typeof files == "string")
|
if (typeof files == "string")
|
||||||
files = [ files ];
|
files = [ files ];
|
||||||
files.forEach(function(file){
|
files.forEach(function(file){
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user