Changeset 2580 for trunk/phpgwapi/inc


Ignore:
Timestamp:
04/19/10 08:46:39 (14 years ago)
Author:
amuller
Message:

Ticket #1036 - correcao indice de array, alem de aumentar a compactacao

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/phpgwapi/inc/class.javascript.inc.php

    r2578 r2580  
    138138                                                                                { 
    139139                                                                                        $filePath=PHPGW_INCLUDE_ROOT.SEP.$app.SEP.'js'.SEP.$pkg.SEP.$file.'.js'; 
    140                                                                                         $script .= file_get_contents($filePath).";\n"; 
     140                                                                                        $script .= file_get_contents($filePath); 
    141141                                                                                } 
    142142                                                                        } 
     
    162162                                                                        $fp = fopen($filePath, 'w'); 
    163163                                                                        require_once('class.JavaScriptPacker.php'); 
    164                                                                         $packer = new JavaScriptPacker($script, 'Normal', true, false); 
     164                                                                        $packer = new JavaScriptPacker($script, 'High ASCII', true, true); 
    165165                                                                        $packed = $packer->pack(); 
    166166                                                                        fwrite($fp, $packed); 
Note: See TracChangeset for help on using the changeset viewer.