Quantcast
Channel: ajaxmin Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 683

Commented Issue: Important comments aren't always preserved [19416]

$
0
0
Looks like important comments need to be at the document level to be preserved:

```
Something.init(
/*!This is an important comment */
);
/*!This is an important comment too! */
function Dennis() {
/*!So is this */
}
```

Gets minified to:

```
function Dennis(){}Something.init();
/*!This is an important comment too! */
```
Comments: ** Comment from web user: ronlo **

Correct. At this time only statement-level important comments are preserved.


Viewing all articles
Browse latest Browse all 683

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>