fix safari syntax error - declare twice (#1851)

To avoid Safari bug, scope of for loop should enclose parent scope variables.


fixes #1753
This commit is contained in:
Gyusun Yeom
2017-05-11 17:48:43 +09:00
committed by Alex Lam S.L
parent e2888bdc43
commit fcd90db30d
3 changed files with 79 additions and 0 deletions

View File

@@ -57,6 +57,7 @@ function minify(files, options) {
keep_fnames: false,
properties: false,
reserved: [],
safari10: false,
toplevel: false,
}, true);
}