src/Theme.php
public function addJs($name, $jsFile, $order = 10, $active = 1)
    {
        $this->_data['js'][$name] = array(
            'file' => $jsFile,
            'order' => $order,
            'active' => $active
            );
    }
public function addJs($name, $jsFile, $order = 10, $active = 1)
    {
        $this->_data['js'][$name] = array(
            'file' => $jsFile,
            'order' => $order,
            'active' => $active
            );
    }
public function addJs ( $ name , $ jsFile , $ order = 10 , $ active = 1 ) { $ this -> _data [ 'js' ] [ $ name ] = array ( 'file' => $ jsFile , 'order' => $ order , 'active' => $ active ) ; }
Add js file to page

@param string $name
@param string $jsFile URL of js file
@param int $order
@param boolean $active defaults to 1
@todo same issue as addCss
Add js file to page