From 0bb4c1bd060627ddeb098f107fc7ec5d8cddbb0d Mon Sep 17 00:00:00 2001 From: Matt Enlow Date: Wed, 25 Jun 2014 10:04:00 -0600 Subject: [PATCH] Add off as a noop function to touch editor. Closes #3107 --- core/client/assets/lib/touch-editor.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/client/assets/lib/touch-editor.js b/core/client/assets/lib/touch-editor.js index e078a59d9c..aba80033f8 100644 --- a/core/client/assets/lib/touch-editor.js +++ b/core/client/assets/lib/touch-editor.js @@ -46,7 +46,8 @@ var createTouchEditor = function createTouchEditor() { nthLine: noop, refresh: noop, selectLines: noop, - on: noop + on: noop, + off: noop }; return TouchEditor;