From a9f60a8d781f1460f4f7bf9e67e0fbd11d61f91c Mon Sep 17 00:00:00 2001 From: coderaiser Date: Wed, 27 Nov 2013 15:58:51 +0000 Subject: [PATCH] refactor(edit) save: rm pEditor --- lib/client/edit.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/client/edit.js b/lib/client/edit.js index 1a0a3272..fbb635da 100644 --- a/lib/client/edit.js +++ b/lib/client/edit.js @@ -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();