From 39ac6b0d4696700d1d20872c66037bbecb5d51e4 Mon Sep 17 00:00:00 2001 From: Steve-Mcl Date: Mon, 13 Jun 2022 13:33:30 +0100 Subject: [PATCH] fix typo --- .../editor-client/src/ace/mode/nrjavascript_worker.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/node_modules/@node-red/editor-client/src/ace/mode/nrjavascript_worker.js b/packages/node_modules/@node-red/editor-client/src/ace/mode/nrjavascript_worker.js index 310831607..10f0cf812 100644 --- a/packages/node_modules/@node-red/editor-client/src/ace/mode/nrjavascript_worker.js +++ b/packages/node_modules/@node-red/editor-client/src/ace/mode/nrjavascript_worker.js @@ -76,7 +76,7 @@ oop.inherits(NRJavaScriptWorker, Mirror); (function() { this.setOptions = function(options) { - o.options = { + this.options = { // undef: true, // unused: true, esversion: 9, @@ -98,7 +98,7 @@ oop.inherits(NRJavaScriptWorker, Mirror); if (options) { for (var opt in options) { if (options.hasOwnProperty(opt)) { - o.options[opt] = options[opt]; + this.options[opt] = options[opt]; } } }