/** * Make this javascipt file available on the client * * @param string $fn File path; absolute or relative to the plugin directory */ public function include_script($fn) { $this->api->include_script($this->resource_url($fn)); }