[Pkg-javascript-commits] [uglifyjs] 01/03: Unfuzz patch 1001.
Jonas Smedegaard
dr at jones.dk
Thu Oct 16 13:44:29 UTC 2014
This is an automated email from the git hooks/post-receive script.
js pushed a commit to branch master
in repository uglifyjs.
commit ec2a6192e14049d372c2b15b77227bf0e9359284
Author: Jonas Smedegaard <dr at jones.dk>
Date: Thu Oct 16 15:07:51 2014 +0200
Unfuzz patch 1001.
---
debian/patches/1001_break_dep_loop.patch | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/debian/patches/1001_break_dep_loop.patch b/debian/patches/1001_break_dep_loop.patch
index 909cfe8..d828bed 100644
--- a/debian/patches/1001_break_dep_loop.patch
+++ b/debian/patches/1001_break_dep_loop.patch
@@ -9,12 +9,12 @@ Last-Update: 2014-05-02
},
"dependencies": {
"async" : "~0.2.6",
-- "source-map" : "~0.1.33",
+- "source-map" : "0.1.34",
"optimist" : "~0.3.5",
"uglify-to-browserify": "~1.0.0"
},
+ "optionalDependencies": {
-+ "source-map" : "~0.1.33"
++ "source-map" : "0.1.34"
+ },
"browserify": {
"transform": [ "uglify-to-browserify" ]
@@ -51,7 +51,7 @@ Last-Update: 2014-05-02
- if (options.sourceMapIncludeSources) {
- for (var file in sourcesContent) {
- if (sourcesContent.hasOwnProperty(file)) {
-- options.source_map.get().setSourceContent(file, sourcesContent[file]);
+- output.source_map.get().setSourceContent(file, sourcesContent[file]);
+ if (sourceMap) {
+ output.source_map = UglifyJS.SourceMap({
+ file: options.outSourceMap,
@@ -61,7 +61,7 @@ Last-Update: 2014-05-02
+ if (options.sourceMapIncludeSources) {
+ for (var file in sourcesContent) {
+ if (sourcesContent.hasOwnProperty(file)) {
-+ options.source_map.get().setSourceContent(file, sourcesContent[file]);
++ output.source_map.get().setSourceContent(file, sourcesContent[file]);
+ }
}
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/uglifyjs.git
More information about the Pkg-javascript-commits
mailing list