application/modules/g/views/helpers/Script.php
protected function _renderBlock($code, array $attrs = array()) {
        $attrs = $this->_htmlAttribs($attrs);
        $html = "<script{$attrs}>\n\t%s\n</script>";
        return sprintf($html, $code);
    }
protected function _renderBlock($code, array $attrs = array()) {
        $attrs = $this->_htmlAttribs($attrs);
        $html = "<script{$attrs}>\n\t%s\n</script>";
        return sprintf($html, $code);
    }
protected function _renderBlock ( $ code , array $ attrs = array ( ) ) { $ attrs = $ this -> _htmlAttribs ( $ attrs ) ; $ html = "<script{$attrs}>\n\t%s\n</script>" ; return sprintf ( $ html , $ code ) ; }
Render a Javascript.

@param String $code If not given, everything in $this->_scripts will be rendered.
@param Array $attrs HTML attributes for the <script> tag
@return String
Render a Javascript .