Ticket #1343 (closed Bug: fixed)
Support for conditional compilation comments
| Reported by: | fredck | Owned by: | fredck |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | Project : FCKpackager | Version: | |
| Keywords: | Confirmed Review+ | Cc: |
Description
Conditional compilation comments must not be removed from the script while compressing. For example, the following code is completely removed today:
/*@cc_on
@if (@_win32)
document.write("OS is 32-bit. Browser is IE.");
@else
document.write("OS is NOT 32-bit. Browser is IE.");
@end
@*/
This page has more information about the Conditional Compilation syntax.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.