Permalink
Browse files

Preserve UglifyJS copyright notices in generated JS

  • Loading branch information...
1 parent 69bc5b9 commit da3d5cca8db31ba725547fd8f5d8fd92cb98e0cf @lautis committed Jan 10, 2013
Showing with 382 additions and 6 deletions.
  1. +1 −1 Rakefile
  2. +381 −5 lib/uglify.js
View
2 Rakefile
@@ -55,7 +55,7 @@ task :js do
source << "window = this;"
source << File.read("vendor/source-map/dist/source-map.js")
source << "MOZ_SourceMap = sourceMap;"
- source << `./vendor/uglifyjs/bin/uglifyjs --self`
+ source << `./vendor/uglifyjs/bin/uglifyjs --self --comments /Copyright/`
File.write("lib/uglify.js", source)
end
View
386 lib/uglify.js
381 additions, 5 deletions not shown because the diff is too large. Please use a local Git client to view these changes.

0 comments on commit da3d5cc

Please sign in to comment.