/** * Outputs a link to the Jquery and Bootstrap CDN * * @return string */ public function js() { $jquery = $this->config->getJQueryVersion(); $bootstrap = $this->config->getBootstrapperVersion(); return "<script src='http://code.jquery.com/jquery-{$jquery}.min.js'></script><script src='//netdna.bootstrapcdn.com/bootstrap/{$bootstrap}/js/bootstrap.min.js'></script>"; }