From 2d4c9248e7acb585b1f286078e34fa55e2c69284 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Thu, 22 May 2014 09:44:46 -0400 Subject: [PATCH] chore(contact) pCallBack -> callback --- lib/client/contact.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/client/contact.js b/lib/client/contact.js index d4e588fe..79778550 100644 --- a/lib/client/contact.js +++ b/lib/client/contact.js @@ -5,7 +5,7 @@ var CloudCmd, Util, DOM, olark; CloudCmd.Contact = ContactProto; - function ContactProto(pCallBack) { + function ContactProto(callback) { var Contact = this, Images = DOM.Images, Key = CloudCmd.Key, @@ -60,16 +60,16 @@ var CloudCmd, Util, DOM, olark; init(Contact.hide); } - function listener(pEvent) { + function listener(event) { var ESC = Key.ESC, isBind = Key.isBind(), - key = pEvent.keyCode; + key = event.keyCode; if (!isBind && key === ESC) Contact.hide(); } - init(pCallBack); + init(callback); } })(CloudCmd, Util, DOM);