equal
deleted
inserted
replaced
96 'comments.js', |
96 'comments.js', |
97 'autofill.js', |
97 'autofill.js', |
98 'dropdown.js', |
98 'dropdown.js', |
99 'paginate.js', |
99 'paginate.js', |
100 'enano-lib-basic.js', |
100 'enano-lib-basic.js', |
101 'SpryJSONDataSet.js', |
|
102 'pwstrength.js', |
101 'pwstrength.js', |
103 'flyin.js', |
102 'flyin.js', |
104 'rank-manager.js', |
103 'rank-manager.js', |
105 'userpage.js', |
104 'userpage.js', |
106 'template-compiler.js', |
105 'template-compiler.js', |
107 'toolbar.js', |
106 'toolbar.js', |
108 ); |
107 ); |
109 |
108 |
110 // Files that should NOT be compressed due to already being compressed, licensing, or invalid produced code |
109 // Files that should NOT be compressed due to already being compressed, licensing, or invalid produced code |
111 $compress_unsafe = array('SpryEffects.js', 'json.js', 'fat.js', 'admin-menu.js', 'autofill.js'); |
110 $compress_unsafe = array('json.js', 'fat.js', 'admin-menu.js', 'autofill.js', 'jquery.js', 'jquery-ui.js'); |
112 |
111 |
113 require_once('includes/js-compressor.php'); |
112 require_once('includes/js-compressor.php'); |
114 |
113 |
115 // try to gzip the output |
114 // try to gzip the output |
116 if ( !defined('ENANO_JSRES_SETUP_ONLY') ): |
115 if ( !defined('ENANO_JSRES_SETUP_ONLY') ): |