forked from gruntjs/grunt-contrib-uglify
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added preserveComments option, updated docs, moved to uglify-js prope…
…r, added tests (multifile and comments)
- Loading branch information
Jarrod Overson
committed
Nov 24, 2012
1 parent
a2c2ce2
commit 695347b
Showing
12 changed files
with
9,645 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Please see the [Contributing to grunt](http://gruntjs.com/contributing) guide for information on contributing to this project. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/*! | ||
* I am a comment | ||
*/ | ||
function foo(){return 42}// @preserve preserve | ||
// @license license | ||
function bar(){return 2*foo()}/* @preserve | ||
* multiline preserve | ||
*/ | ||
/* @license | ||
* multiline license | ||
*/ | ||
function baz(){return bar()*bar()} |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
/*! | ||
* I am a comment | ||
*/ | ||
function foo() { | ||
return 42; | ||
} | ||
// @preserve preserve | ||
// @license license | ||
function bar() { | ||
return foo()*2; | ||
} | ||
/* @preserve | ||
* multiline preserve | ||
*/ | ||
/* @license | ||
* multiline license | ||
*/ | ||
function baz() { | ||
return bar()*bar(); | ||
} | ||
// end - not preserved |
Oops, something went wrong.