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

@ -6,7 +6,7 @@
var
ko = require('ko'),
$window = require('$window'),
$win = require('$win'),
Enums = require('Enums'),
Globals = require('Globals'),
@ -88,7 +88,7 @@
{
var self = this;
$window.on('keydown', function (oEvent) {
$win.on('keydown', function (oEvent) {
if (oEvent && self.modalVisibility && self.modalVisibility())
{
if (!this.bDisabeCloseOnEsc && Enums.EventKeyCode.Esc === oEvent.keyCode)