From 4f8f122caae0ab9a4baa67d3f3febb8183c6a4db Mon Sep 17 00:00:00 2001 From: coderaiser Date: Mon, 4 Nov 2013 13:20:15 +0000 Subject: [PATCH] chore(config, help) add " " --- lib/client/config.js | 8 +++++--- lib/client/help.js | 8 +++++--- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/lib/client/config.js b/lib/client/config.js index 88893cde..87394826 100644 --- a/lib/client/config.js +++ b/lib/client/config.js @@ -12,7 +12,7 @@ var CloudCmd, Util, DOM; INPUT = 'INPUT', Config = this; - this.init = function(pCallBack){ + this.init = function(pCallBack){ Util.loadOnLoad([ Config.show, CloudCmd.View, @@ -24,7 +24,7 @@ var CloudCmd, Util, DOM; delete Config.init; }; - this.show = function(){ + this.show = function(){ Images.showLoad({top:true}); DOM.ajax({ @@ -77,7 +77,9 @@ var CloudCmd, Util, DOM; }); }; - this.hide = CloudCmd.View.hide + this.hide = function() { + CloudCmd.View.hide(); + }; function listener(pEvent){ var f10 = Key.F10, diff --git a/lib/client/help.js b/lib/client/help.js index 8db66811..b8ba278d 100644 --- a/lib/client/help.js +++ b/lib/client/help.js @@ -9,7 +9,7 @@ var CloudCmd, Util, DOM; Images = DOM.Images, Help = this; - this.init = function(pCallBack){ + this.init = function(pCallBack){ Util.loadOnLoad([ Help.show, CloudCmd.View, @@ -63,9 +63,11 @@ var CloudCmd, Util, DOM; }; - this.hide = CloudCmd.View.hide; + this.hide = function() { + CloudCmd.View.hide(); + }; - function listener(pEvent){ + function listener(pEvent) { var lF1 = Key.F1, lIsBind = Key.isBind(), lKey = pEvent.keyCode;