public function JavaScriptPacker::pack in Advanced CSS/JS Aggregation 6
Same name and namespace in other branches
- 8.4 advagg_js_minify/jspacker.inc \JavaScriptPacker::pack()
- 8.2 advagg_js_minify/jspacker.inc \JavaScriptPacker::pack()
- 8.3 advagg_js_minify/jspacker.inc \JavaScriptPacker::pack()
- 7.2 advagg_js_compress/jspacker.inc \JavaScriptPacker::pack()
- 7 advagg_js_compress/jspacker.inc \JavaScriptPacker::pack()
File
- advagg_js_compress/
jspacker.inc, line 96
Class
Code
public function pack() {
$this
->_addParser('_basicCompression');
if ($this->_specialChars) {
$this
->_addParser('_encodeSpecialChars');
}
if ($this->_encoding) {
$this
->_addParser('_encodeKeywords');
}
// go!
return $this
->_pack($this->_script);
}