Ticket #2298 (new defect)

Opened 23 months ago

Last modified 3 months ago

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

Changed 14 months ago by peller

  • keywords shrinksafe compression removed
  • component changed from BuildTools to ShrinkSafe

Changed 13 months ago by alex

  • milestone set to 1.1

Changed 9 months ago by dylan

  • milestone changed from 1.1 to 1.2

moving shrinksafe bugs to 1.2

Changed 3 months ago by dylan

  • description modified (diff)
  • milestone changed from 1.2 to future

moving shrinksafe bugs to future... help wanted.

Note: See TracTickets for help on using tickets.