mirror of
https://github.com/google/blockly.git
synced 2026-01-10 02:17:09 +01:00
Migrate core/keyboard_nav/marker.js to ES6 const/let
This commit is contained in:
@@ -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_);
|
||||
|
||||
Reference in New Issue
Block a user