Update dependencies

This commit is contained in:
RainLoop Team 2016-08-30 01:10:24 +03:00
parent a30fc911f6
commit b28d4f8cf3
7 changed files with 503 additions and 99 deletions

View file

@ -1556,6 +1556,24 @@ export function mailToHelper(mailToUrl, PopupComposeVoreModel)
return false;
}
/**
* @param {Function} fn
* @returns {void}
*/
export function domReady(fn)
{
$(() => fn());
//
// if ('loading' !== window.document.readyState)
// {
// fn();
// }
// else
// {
// window.document.addEventListener('DOMContentLoaded', fn);
// }
}
export const windowResize = _.debounce((timeout) => {
if (isUnd(timeout) || isNull(timeout))
{