constant JavaScriptPacker::JSFUNCTION_unpack in Advanced CSS/JS Aggregation 7
Same name and namespace in other branches
- 8.4 advagg_js_minify/jspacker.inc \JavaScriptPacker::JSFUNCTION_unpack
- 8.2 advagg_js_minify/jspacker.inc \JavaScriptPacker::JSFUNCTION_unpack
- 8.3 advagg_js_minify/jspacker.inc \JavaScriptPacker::JSFUNCTION_unpack
- 6 advagg_js_compress/jspacker.inc \JavaScriptPacker::JSFUNCTION_unpack
- 7.2 advagg_js_compress/jspacker.inc \JavaScriptPacker::JSFUNCTION_unpack
File
- advagg_js_compress/
jspacker.inc, line 476
Class
Code
const JSFUNCTION_unpack = 'function($packed, $ascii, $count, $keywords, $encode, $decode) {
while ($count--) {
if ($keywords[$count]) {
$packed = $packed.replace(new RegExp(\'\\\\b\' + $encode($count) + \'\\\\b\', \'g\'), $keywords[$count]);
}
}
return $packed;
}';