Ticket #2298 (new defect)
Shrinksafe removes comments containing IE's propietary conditional compilation code
| Reported by: | ShrinkSafe not "safe" on IE conditional compilation | Owned by: | alex |
|---|---|---|---|
| Priority: | normal | Milestone: | future |
| Component: | ShrinkSafe | Version: | 0.4.1 |
| Severity: | normal | Keywords: | |
| Cc: |
Description (last modified by dylan) (diff)
Internet Explorer has a proprietary mechanism to allow for IE-only JavaScript? statements. These statements are "hidden" inside normal comments so that they are ignored by other browsers.
The ShrinkSafe? JavaScript? compressor removes these "comments", thus breaking the IE specific code. It would be nice if it could detect these special comments and leave them intact.
Related links: http://www.javascriptkit.com/javatutors/conditionalcompile.shtml http://fforw.de/post/Dojo_Javascript_Compression_and_IE_conditional_compilation/
Change History
Note: See
TracTickets for help on using
tickets.