public function JSNode::addNode in Advanced CSS/JS Aggregation 8.4
Same name and namespace in other branches
- 8.2 advagg_js_minify/jsminplus.inc \JSNode::addNode()
- 8.3 advagg_js_minify/jsminplus.inc \JSNode::addNode()
- 6 advagg_js_compress/jsminplus.inc \JSNode::addNode()
- 7.2 advagg_js_compress/jsminplus.inc \JSNode::addNode()
- 7 advagg_js_compress/jsminplus.inc \JSNode::addNode()
1 call to JSNode::addNode()
- JSNode::__construct in advagg_js_minify/
jsminplus.inc
File
- advagg_js_minify/
jsminplus.inc, line 1842 - JSMinPlus version 1.4
Class
Code
public function addNode($node) {
if ($node !== null) {
if ($node->start < $this->start) {
$this->start = $node->start;
}
if ($this->end < $node->end) {
$this->end = $node->end;
}
}
$this->treeNodes[] = $node;
}