If you don't specify a module, the current one will be used
If you set overwritePath to true we expect a full path (It has to start with a /)
public addJS ( string $file, string $module = null, boolean $minify = true, boolean $overwritePath = false, boolean $addTimestamp = false ) | ||
$file | string | The file to load. |
$module | string | The module wherein the file is located. |
$minify | boolean | Should the module be minified? |
$overwritePath | boolean | Should we overwrite the full path? |
$addTimestamp | boolean | May we add a timestamp for caching purposes? |