Changeset 1978 for FCKeditor/trunk
- Timestamp:
- 05/09/08 18:21:46 (5 years ago)
- File:
-
- 1 edited
-
FCKeditor/trunk/_dev/releaser/fckreleaser.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
FCKeditor/trunk/_dev/releaser/fckreleaser.php
r1565 r1978 1 #!/usr/bin/php -q1 #!/usr/bin/php -q 2 2 <?php 3 3 /* … … 128 128 class FCKReleaser 129 129 { 130 var $_PreProcessExtensions = array( 'js','html','asp','aspx',' cfc','cfm','jsp','css','xml','txt','java','php','cgi','pl','lasso','py' ) ;130 var $_PreProcessExtensions = array( 'js','html','asp','aspx','ascx','cfc','cfm','jsp','css','xml','txt','java','php','cgi','pl','lasso','py','config' ) ; 131 131 132 132 var $SourcesDir ; … … 627 627 ' ', $script ) ; 628 628 629 // Concatenate lines that end with "}" using a ";" (except for "else" and "catch" cases). 629 // Concatenate lines that end with "}" using a ";", except for "else", 630 // "while", "catch" and "finally" cases, or when followed by, "'", ";", 631 // "}" or ")". 630 632 $script = preg_replace( 631 '/\s*}\s*[\n\r]+\s*(?!\s*(else|catch| }))/s',633 '/\s*}\s*[\n\r]+\s*(?!\s*(else|catch|finally|while|[}\),;]))/s', 632 634 '};', $script ) ; 633 635
Note: See TracChangeset
for help on using the changeset viewer.
