ComunicWeb/assets/js/common/helpers.js

19 lines
328 B
JavaScript
Raw Permalink Normal View History

2017-05-27 09:57:05 +00:00
/**
* 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;
}