Append a script to the script array.
public appendScript ( string $path, string $type = 'text/javascript' ) | ||
$path | string | Path to the script. It can be relative path to the Public/static folder or a full http path. |
$type | string | Script type, default is 'text/javascript'. |