mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-11-29 23:36:27 +00:00
19 lines
328 B
JavaScript
19 lines
328 B
JavaScript
|
/**
|
||
|
* Helpers
|
||
|
*
|
||
|
* @author Pierre HUBERT
|
||
|
*/
|
||
|
|
||
|
/**
|
||
|
* Returns the path pointing on an asset
|
||
|
*
|
||
|
* @param {String} assetURI Optionnal, the URI of the asset
|
||
|
* @return {String} The full URL path of the asset
|
||
|
*/
|
||
|
function path_assets(assetURI){
|
||
|
|
||
|
if(!assetURI)
|
||
|
assetURI = "";
|
||
|
|
||
|
return ComunicWeb.__config.assetsURL+assetURI;
|
||
|
}
|