Changeset 19576


Ignore:
Timestamp:
Dec 26, 2012, 12:39:32 PM (11 years ago)
Author:
mistic100
Message:

bug:2663 replace JSmin by JShrink

Location:
trunk/include
Files:
1 added
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/template.class.php

    r18775 r19576  
    13881388    if (strpos($file, '.min')===false and strpos($file, '.packed')===false )
    13891389    {
    1390       require_once(PHPWG_ROOT_PATH.'include/jsmin.class.php');
    1391       try { $js = JSMin::minify($js); } catch(Exception $e) {}
     1390      require_once(PHPWG_ROOT_PATH.'include/jshrink.class.php');
     1391      try { $js = JShrink_Minifier::minify($js); } catch(Exception $e) {}
    13921392    }
    13931393    return trim($js, " \t\r\n;").";\n";
Note: See TracChangeset for help on using the changeset viewer.