refactor(edit) save: rm pEditor

This commit is contained in:
coderaiser 2013-11-27 15:58:51 +00:00
parent abf33b8f4f
commit a9f60a8d78

View file

@ -143,7 +143,7 @@ var CloudCmd, Util, DOM, CloudFunc, ace, DiffProto, diff_match_patch;
Ace.commands.addCommand({
name : 'save',
bindKey : { win: 'Ctrl-S', mac: 'Command-S' },
exec : function (pEditor) {
exec : function () {
var lPath = DOM.getCurrentPath(),
lValue = Ace.getValue();