From 38374405647c789c4e74eafae77f578e5a92177f Mon Sep 17 00:00:00 2001 From: kozbial Date: Mon, 19 Jul 2021 11:27:57 -0700 Subject: [PATCH] Migrate core/keyboard_nav/marker.js to ES6 const/let --- core/keyboard_nav/marker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/keyboard_nav/marker.js b/core/keyboard_nav/marker.js index de31d6084..555bf7c97 100644 --- a/core/keyboard_nav/marker.js +++ b/core/keyboard_nav/marker.js @@ -85,7 +85,7 @@ Blockly.Marker.prototype.getCurNode = function() { * @param {Blockly.ASTNode} newNode The new location of the marker. */ Blockly.Marker.prototype.setCurNode = function(newNode) { - var oldNode = this.curNode_; + const oldNode = this.curNode_; this.curNode_ = newNode; if (this.drawer_) { this.drawer_.draw(oldNode, this.curNode_);