Support for conditional compilation comments
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.
Change History (6)
Keywords: |
Confirmed added
|
Owner: |
set to Frederico Caldeira Knabben
|
Status: |
new →
assigned
|
Keywords: |
Review+ added; Review? removed
|
Resolution: |
→ fixed
|
Status: |
assigned →
closed
|
The proposed fix simply leaves conditional comments untouched.