/**
  * {@inheritdoc}
  */
 protected function getNodes(DOMElement $template)
 {
     return TemplateHelper::getJSNodes($template->ownerDocument);
 }
Exemplo n.º 2
0
 /**
  * Return all the nodes in this template whose content type is JavaScript
  *
  * @return array
  */
 public function getJSNodes()
 {
     return TemplateHelper::getJSNodes($this->asDOM());
 }