Same name in other branches
- 5.0.x advagg_js_minify/jspacker.inc \JavaScriptPacker::JSFUNCTION_unpack
- 7.x-1.x advagg_js_compress/jspacker.inc \JavaScriptPacker::JSFUNCTION_unpack
- 7.x-2.x advagg_js_compress/jspacker.inc \JavaScriptPacker::JSFUNCTION_unpack
- 8.x-2.x advagg_js_minify/jspacker.inc \JavaScriptPacker::JSFUNCTION_unpack
- 8.x-3.x advagg_js_minify/jspacker.inc \JavaScriptPacker::JSFUNCTION_unpack
- 8.x-4.x advagg_js_minify/jspacker.inc \JavaScriptPacker::JSFUNCTION_unpack
Fichier
-
advagg_js_minify/
jspacker.inc, line 492
Classe
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;
}';