This repository has been archived by the owner on Jun 10, 2018. It is now read-only.
forked from rails/sprockets
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a :strip_comments option to Secretary that is passed through to i…
…ts Preprocessor. [#12 state:resolved]
- Loading branch information
1 parent
a09372e
commit 8860b7f
Showing
4 changed files
with
30 additions
and
5 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
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,13 @@ | ||
/* | ||
* Comment that should remain | ||
*/ | ||
|
||
/** | ||
* PDoc comment that should be stripped | ||
**/ | ||
|
||
(function(){})(); | ||
|
||
// This should be stripped, too | ||
|
||
with({}){}; // but not this |
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