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

Created 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! */
```

Viewing all articles
Browse latest Browse all 683


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