mirror of
https://github.com/google/blockly.git
synced 2026-01-11 10:57:07 +01:00
Migrate core/events/events_toolbox_item_select.js to ES6 const/let
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user