mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-20 01:47:35 +00:00
chore(contact) pCallBack -> callback
This commit is contained in:
parent
3e44e9292c
commit
2d4c9248e7
1 changed files with 4 additions and 4 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue