public function JSNode::addNode in Advanced CSS/JS Aggregation 7
Same name and namespace in other branches
- 8.4 advagg_js_minify/jsminplus.inc \JSNode::addNode()
- 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()
1 call to JSNode::addNode()
- JSNode::__construct in advagg_js_compress/
jsminplus.inc
File
- advagg_js_compress/
jsminplus.inc, line 1826
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;
}