public function addScript($url, $module = null) { $url = Manager::getAbsoluteURL("public/scripts/{$url}", $module); $this->scripts[] = $url; }