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

Commented Issue: Error with IE and Source Maps [19632]

$
0
0
When debugging in VS, every time a js with with a source maps loads it throws an error which brings me back into Visual Studio. jQuery fixed the issue by adding a comment tag so that IE will ignore the tag:

http://bugs.jquery.com/ticket/13274
Comments: ** Comment from web user: ronlo **

Wonderful -- IE parsing the source-map comment as a conditional-compilation comment (//@).
Thanks for pointing this out. I'll change the AjaxMin implementation to wrap the added //@ comment inside a multi-line comment as they suggest:
```
/*
//@ sourceMappingUrl=url
*/
```


Viewing all articles
Browse latest Browse all 683

Trending Articles



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