src/Ubiquity/assets/AssetsManager.php
public static function js($resource, $attributes = [], $absolute = false) {
		return self::script ( self::getUrl ( $resource, $absolute ), $attributes );
	}
public static function js($resource, $attributes = [], $absolute = false) {
		return self::script ( self::getUrl ( $resource, $absolute ), $attributes );
	}
public static function js ( $ resource , $ attributes = [ ] , $ absolute = false ) { return self :: script ( self :: getUrl ( $ resource , $ absolute ) , $ attributes ) ; }
Returns the script inclusion for a javascript resource.

@param string $resource The javascript resource to include
@param array $attributes The other html attributes of the script element
@param boolean $absolute True if url must be absolute (containing siteUrl)
@return string
Returns the script inclusion for a javascript resource .