Show
Ignore:
Timestamp:
2008-07-25 10:45:15 (6 months ago)
Author:
fredck
Message:

Removed all jslint warnings.
Formatted the What's New? file.
Run fixlineends.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • FCKeditor/trunk/_dev/releaser/fckreleaser.php

    r2273 r2287  
    8282{ 
    8383        $dirPath = str_replace( '\\', '/', $dirPath ) ; 
    84          
     84 
    8585        if ( substr( $dirPath, -1, 1 ) != '/' ) 
    8686                $dirPath .= '/' ; 
    87          
     87 
    8888        return $dirPath ; 
    8989} 
     
    170170                if ( isset( $releaseNode->Children[ 'IGNOREFILE' ] ) ) 
    171171                { 
    172                         $ignoreNodes = $releaseNode->Children[ 'IGNOREFILE' ] ;  
     172                        $ignoreNodes = $releaseNode->Children[ 'IGNOREFILE' ] ; 
    173173                        foreach ( $ignoreNodes as $ignoreNode ) 
    174174                        { 
     
    181181                if ( isset( $releaseNode->Children[ 'ORIGINALFILE' ] ) ) 
    182182                { 
    183                         $originalNodes = $releaseNode->Children[ 'ORIGINALFILE' ] ;      
     183                        $originalNodes = $releaseNode->Children[ 'ORIGINALFILE' ] ; 
    184184                        foreach ( $originalNodes as $originalNode ) 
    185185                        { 
    186                                 $this->OriginalFiles[] = (object)array(  
     186                                $this->OriginalFiles[] = (object)array( 
    187187                                        'Source' => $originalNode->Attributes[ 'SOURCEPATH' ], 
    188188                                        'Target' => $originalNode->Attributes[ 'TARGETPATH' ] ) ; 
     
    239239                while ( $file = readdir( $sourceDirHandler ) ) 
    240240                { 
    241                         // Skip ".", ".." and hidden fields (Unix).  
     241                        // Skip ".", ".." and hidden fields (Unix). 
    242242                        if ( substr( $file, 0, 1 ) == '.' ) 
    243243                                continue ; 
     
    327327                // Project start time (registration at SourceForge, actually = 2003-03-01 18:20). 
    328328                $startTime = gmmktime( 18, 20, 0, 3, 1, 2003 ) ; 
    329                  
     329 
    330330                $currentTime = time() ; 
    331                  
     331 
    332332                // Get the number of seconds since the project startup. 
    333333                $seconds = $currentTime - $startTime ; 
     
    606606                                '/\/\/.*$/m', 
    607607                                '', $script ) ; 
    608                  
     608 
    609609                // Remove spaces before the ";" at the end of the lines 
    610610                $script = preg_replace(