/** * Assigns a javascript snippet with the given variables to the output. The * snippet is then sent to the browser along with other views so that the * views loaded after calling this function can use the variables in it. * * @param array $vars */ protected function assign_js($vars) { $this->out->assign_js($vars); }