From 27d9966693bc88495617ba165f290c7f2e54abd0 Mon Sep 17 00:00:00 2001 From: Robert Zorko Date: Thu, 17 Dec 2015 14:02:20 +0100 Subject: added 'use strict', coirrected some errors which were revealed by it and fixed the argument of the call of the wait function used in the reset function (core.js) --- js/codeq/editor.js | 1 + 1 file changed, 1 insertion(+) (limited to 'js/codeq/editor.js') diff --git a/js/codeq/editor.js b/js/codeq/editor.js index 4b0ba6f..157c70e 100644 --- a/js/codeq/editor.js +++ b/js/codeq/editor.js @@ -15,6 +15,7 @@ You should have received a copy of the GNU Affero General Public License along with this program. If not, see . */ codeq.makeEditor = function (elt, options, onEscape) { + "use strict"; var statusBar = $(elt).siblings(".block-statusbar")[0], updateStatusBar = function (pos) { statusBar.innerHTML = 'line ' + (pos.line+1) + ', column ' + (pos.ch+1); -- cgit v1.2.1