public function getJs()
    {
        if(!$this->includeAssets())
        {
            return '';
        }
        $libraries = $this->getLibrariesInUse();
        $code = '';
        foreach($libraries as $library)
        {
            $code .= "\n" . $library->getJs() . "\n";
        }
        return $code;
    }
public function getJs()
    {
        if(!$this->includeAssets())
        {
            return '';
        }
        $libraries = $this->getLibrariesInUse();
        $code = '';
        foreach($libraries as $library)
        {
            $code .= "\n" . $library->getJs() . "\n";
        }
        return $code;
    }
public function getJs ( ) { if ( ! $ this -> includeAssets ( ) ) { return '' ; } $ libraries = $ this -> getLibrariesInUse ( ) ; $ code = '' ; foreach ( $ libraries as $ library ) { $ code .= "\n" . $ library -> getJs ( ) . "\n" ; } return $ code ; }
Return the javascript header code and file includes

@return string
Return the javascript header code and file includes