diff options
author | Robert Zorko <robertz@gurucue.com> | 2015-12-17 14:02:20 +0100 |
---|---|---|
committer | Robert Zorko <robertz@gurucue.com> | 2015-12-17 14:02:20 +0100 |
commit | 27d9966693bc88495617ba165f290c7f2e54abd0 (patch) | |
tree | c8c7854e8777f149bd6d41c4a42b2060f71e1f64 /js/codeq/editor.js | |
parent | a7fa6cfffebe3026198ad8beb0e06543d3503bb6 (diff) |
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)
Diffstat (limited to 'js/codeq/editor.js')
-rw-r--r-- | js/codeq/editor.js | 1 |
1 files changed, 1 insertions, 0 deletions
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 <http://www.gnu.org/licenses/>. */ 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); |