Changeset 2241 for FCKpackager/trunk

Show
Ignore:
Timestamp:
2008-07-21 12:57:39 (5 months ago)
Author:
fredck
Message:

The previous changes to the compressor where breaking the core followed by comments like //**

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • FCKpackager/trunk/_source/includes/fckjavascriptcompressor.inc

    r2237 r2241  
    4444                // Remove "/* */" comments 
    4545                $script = preg_replace( 
    46                         '/\/\*.*?\*\//s', 
     46                        '/(?<!\/)\/\*.*?\*\//s', 
    4747                        '', $script ) ; 
    4848