Code refactoring

This commit is contained in:
RainLoop Team 2014-08-27 19:59:44 +04:00
parent 36329110e5
commit b4f416b6f8
105 changed files with 4331 additions and 4339 deletions

View file

@ -11,7 +11,7 @@
_ = require('_'),
ko = require('ko'),
window = require('window'),
$window = require('$window'),
$win = require('$win'),
$html = require('$html'),
$div = require('$div'),
$doc = require('$doc'),
@ -42,12 +42,12 @@
Utils.windowResize = _.debounce(function (iTimeout) {
if (Utils.isUnd(iTimeout))
{
$window.resize();
$win.resize();
}
else
{
window.setTimeout(function () {
$window.resize();
$win.resize();
}, iTimeout);
}
}, 50);