Fix example

This commit is contained in:
Mihai Bazon
2014-01-17 15:48:47 +02:00
parent eda540f6ec
commit 1ab2fdaa10

View File

@@ -505,7 +505,7 @@ something like this:
```javascript
var toplevel = null;
files.forEach(function(file){
var code = fs.readFileSync(file);
var code = fs.readFileSync(file, "utf8");
toplevel = UglifyJS.parse(code, {
filename: file,
toplevel: toplevel