equal
deleted
inserted
replaced
52 // CONFIG |
52 // CONFIG |
53 |
53 |
54 // Files safe to run full (aggressive) compression on |
54 // Files safe to run full (aggressive) compression on |
55 $full_compress_safe = array( |
55 $full_compress_safe = array( |
56 // Sorted by file size, descending (du -b *.js | sort -n) |
56 // Sorted by file size, descending (du -b *.js | sort -n) |
|
57 // 'SpryData.js', |
|
58 // 'SpryEffects.js', |
|
59 'ajax.js', |
57 'libbigint.js', |
60 'libbigint.js', |
58 'ajax.js', |
|
59 'editor.js', |
61 'editor.js', |
|
62 // 'SpryAutoSuggest.js', |
60 'login.js', |
63 'login.js', |
61 'acl.js', |
64 'acl.js', |
62 'misc.js', |
65 'misc.js', |
63 'comments.js', |
66 'comments.js', |
64 'rijndael.js', |
67 'rijndael.js', |
65 'autofill.js', |
68 'autofill.js', |
66 'dropdown.js', |
69 'dropdown.js', |
67 'paginate.js', |
70 'paginate.js', |
68 'autocomplete.js', |
|
69 'md5.js', |
71 'md5.js', |
70 'enano-lib-basic.js', |
72 'enano-lib-basic.js', |
|
73 'SpryJSONDataSet.js', |
71 'pwstrength.js', |
74 'pwstrength.js', |
72 'sha256.js', |
75 'sha256.js', |
73 'flyin.js', |
76 'flyin.js', |
74 'rank-manager.js', |
77 'rank-manager.js', |
75 'template-compiler.js', |
78 'template-compiler.js', |
77 'diffiehellman.js', |
80 'diffiehellman.js', |
78 'enanomath.js' |
81 'enanomath.js' |
79 ); |
82 ); |
80 |
83 |
81 // Files that should NOT be compressed due to already being compressed, licensing, or invalid produced code |
84 // Files that should NOT be compressed due to already being compressed, licensing, or invalid produced code |
82 $compress_unsafe = array('SpryEffects.js', 'json.js', 'fat.js', 'admin-menu.js'); |
85 $compress_unsafe = array('SpryEffects.js', 'json.js', 'fat.js', 'admin-menu.js', 'autofill.js'); |
83 |
86 |
84 require('includes/functions.php'); |
87 require('includes/functions.php'); |
85 require('includes/json2.php'); |
88 require('includes/json2.php'); |
86 require('includes/js-compressor.php'); |
89 require('includes/js-compressor.php'); |
87 |
90 |