mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-28 18:23:35 +00:00
refactor(util) ExecProto: Util.exec -> exec
This commit is contained in:
parent
289dd5b676
commit
5654d17332
1 changed files with 4 additions and 4 deletions
|
|
@ -785,9 +785,9 @@
|
|||
var ret;
|
||||
|
||||
if (condition)
|
||||
Util.exec(callback, condition);
|
||||
exec(callback, condition);
|
||||
else
|
||||
Util.exec(func, callback);
|
||||
exec(func, callback);
|
||||
|
||||
return ret;
|
||||
};
|
||||
|
|
@ -802,7 +802,7 @@
|
|||
|
||||
if (func) {
|
||||
func = func.bind(obj);
|
||||
ret = Util.exec(func, arg);
|
||||
ret = exec(func, arg);
|
||||
}
|
||||
|
||||
return ret;
|
||||
|
|
@ -838,7 +838,7 @@
|
|||
}
|
||||
|
||||
function callCheckFunc(num, func) {
|
||||
Util.exec(func, function() {
|
||||
exec(func, function() {
|
||||
checkFunc(num, arguments);
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue