Exemplo n.º 1
0
 /**
  * @param $file
  * @return mixed|string
  */
 protected function scriptUrl($file)
 {
     return \TAO::fileUrl($this->fileDirs('scripts'), "{$file}.js");
 }
Exemplo n.º 2
0
 /**
  * @param $file
  * @return mixed|string
  */
 public function scriptUrl($file, $extra = false)
 {
     $dirs = $this->dirs('scripts');
     $url = \TAO::fileUrl($dirs, $file, $extra);
     return $url;
 }