Ejemplo n.º 1
0
 /**
  * Adds javascript code to the current web response.
  *
  * @see  coreWebResponse::addJavascript()
  */
 public function addJavascript($js, $position = '', $options = array())
 {
     $js = $this->getVersionUrl($js);
     parent::addJavascript($js, $position = '', $options);
 }
Ejemplo n.º 2
0
 /**
  * Adds javascript code to the current web response.
  *
  * @see  coreWebResponse::addJavascript()
  */
 public function addJavascript($js, $position = '', $options = array())
 {
     $js = $this->getRevvedResourceUrl($js);
     parent::addJavascript($js, $position = '', $options);
 }