public
/
UglifyJS.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14f290f
)
Fix sourceMapIncludeSources exception in Node API
author
ebednarz
<github@bednarz.nl>
Sun, 13 Apr 2014 09:16:10 +0000
(11:16 +0200)
committer
ebednarz
<github@bednarz.nl>
Sun, 13 Apr 2014 09:16:10 +0000
(11:16 +0200)
https://github.com/mishoo/UglifyJS2/issues/459
tools/node.js
patch
|
blob
|
history
diff --git
a/tools/node.js
b/tools/node.js
index
bef296e
..
04e67e7
100644
(file)
--- a/
tools/node.js
+++ b/
tools/node.js
@@
-115,7
+115,7
@@
exports.minify = function(files, options) {
if (options.sourceMapIncludeSources) {
for (var file in sourcesContent) {
if (sourcesContent.hasOwnProperty(file)) {
- o
ptions
.source_map.get().setSourceContent(file, sourcesContent[file]);
+ o
utput
.source_map.get().setSourceContent(file, sourcesContent[file]);
}
}
}