Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Preserve UglifyJS copyright notices in generated JS

  • Loading branch information...
commit da3d5cca8db31ba725547fd8f5d8fd92cb98e0cf 1 parent 69bc5b9
@lautis authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.