From 412d8101767449b40248cf38736db077b8c9ccd6 Mon Sep 17 00:00:00 2001 From: Aaron Dodson Date: Mon, 2 Aug 2021 09:52:24 -0700 Subject: [PATCH] Migrate core/events/events_toolbox_item_select.js to ES6 const/let --- core/events/events_toolbox_item_select.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/events/events_toolbox_item_select.js b/core/events/events_toolbox_item_select.js index a7dbb5305..694e24d5d 100644 --- a/core/events/events_toolbox_item_select.js +++ b/core/events/events_toolbox_item_select.js @@ -59,7 +59,7 @@ Blockly.Events.ToolboxItemSelect.prototype.type = Blockly.Events.TOOLBOX_ITEM_SE * @return {!Object} JSON representation. */ Blockly.Events.ToolboxItemSelect.prototype.toJson = function() { - var json = Blockly.Events.ToolboxItemSelect.superClass_.toJson.call(this); + const json = Blockly.Events.ToolboxItemSelect.superClass_.toJson.call(this); json['oldItem'] = this.oldItem; json['newItem'] = this.newItem; return json;