Esempio 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);
 }
Esempio 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);
 }