src/View/AssetManager.php
public function getJsCode()
    {
        $html = '';
        foreach ($this->js as $js) {
            $html .= sprintf('<script src="%s"></script>', $js);
        }
        foreach ($this->entry as $entry) {
            $html .= sprintf('<script>System.import(\'%s\')</script>', $entry);
        }
        return $html;
    }
public function getJsCode()
    {
        $html = '';
        foreach ($this->js as $js) {
            $html .= sprintf('<script src="%s"></script>', $js);
        }
        foreach ($this->entry as $entry) {
            $html .= sprintf('<script>System.import(\'%s\')</script>', $entry);
        }
        return $html;
    }
public function getJsCode ( ) { $ html = '' ; foreach ( $ this -> js as $ js ) { $ html .= sprintf ( '<script src="%s"></script>' , $ js ) ; } foreach ( $ this -> entry as $ entry ) { $ html .= sprintf ( '<script>System.import(\'%s\')</script>' , $ entry ) ; } return $ html ; }
get script code for all js assets

@return string
get script code for all js assets