mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-28 10:14:13 +00:00
feature(util) bind -> exec.with
This commit is contained in:
parent
ec9a78a27a
commit
6b58016616
16 changed files with 61 additions and 60 deletions
|
|
@ -59,7 +59,7 @@ var CloudCmd, Util, DOM, CloudFunc, ace, DiffProto, diff_match_patch, Zip, MenuI
|
|||
not_append : true
|
||||
});
|
||||
|
||||
onMenu = Util.bind(setMenu, Element);
|
||||
onMenu = Util.exec.with(setMenu, Element);
|
||||
|
||||
initAce();
|
||||
|
||||
|
|
@ -272,7 +272,7 @@ var CloudCmd, Util, DOM, CloudFunc, ace, DiffProto, diff_match_patch, Zip, MenuI
|
|||
});
|
||||
});
|
||||
|
||||
}, Util.bind(doDiff, path));
|
||||
}, Util.exec.with(doDiff, path));
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue