Changeset 6231


Ignore:
Timestamp:
12/16/10 21:18:36 (3 years ago)
Author:
wwalc
Message:

Added a hack for CSS compressor inside of CKReleaser to handle correctly two filters.

Location:
CKReleaser/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • CKReleaser/trunk/_source/includes/releaser.js

    r5425 r6231  
    152152                                compressor.compress( out, 4096 ); 
    153153                                out.close(); 
     154                                 
     155                                // IE accept more than one filter if there is a space after a comma 
     156                                var content = CKRELEASER.io.readFile( file ); 
     157                                content = content.replace( /\{filter:([^}]*),([^}]*?)\}/g, "{filter:$1, $2}");  
     158                                CKRELEASER.io.saveFile( file, content ); 
    154159                        } 
    155160                        else 
Note: See TracChangeset for help on using the changeset viewer.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy