Code refactoring (2) (es5 -> es2015)

This commit is contained in:
RainLoop Team 2016-07-07 02:11:13 +03:00
parent 38a1041a73
commit a2308e251b
23 changed files with 760 additions and 821 deletions

View file

@ -112,6 +112,24 @@ export function decodeURIComponent(component)
return window.decodeURIComponent(component);
}
/**
* @param {string} url
* @returns {string}
*/
export function decodeURI(url)
{
return window.decodeURI(url);
}
/**
* @param {string} url
* @returns {string}
*/
export function encodeURI(url)
{
return window.encodeURI(url);
}
/**
* @param {string} queryString
* @returns {Object}