mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-21 10:38:26 +00:00
refactor(contact) init: pCallback -> callback
This commit is contained in:
parent
6aa1d1d093
commit
3525935b9a
1 changed files with 2 additions and 2 deletions
|
|
@ -12,7 +12,7 @@ var CloudCmd, Util, DOM, olark;
|
|||
Inited = false,
|
||||
DIR = CloudCmd.LIBDIRCLIENT;
|
||||
|
||||
function init(pCallBack) {
|
||||
function init(callback) {
|
||||
if (!Inited) {
|
||||
Contact.show = show;
|
||||
Contact.hide = hide;
|
||||
|
|
@ -26,7 +26,7 @@ var CloudCmd, Util, DOM, olark;
|
|||
olark('api.box.onShrink', Contact.hide);
|
||||
|
||||
DOM.Events.addKey(listener);
|
||||
Util.exec(pCallBack);
|
||||
Util.exec(callback);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue