From 5ba66a341840b7571370566fefe008bb58f8aa5c Mon Sep 17 00:00:00 2001 From: alschmiedt Date: Tue, 18 Dec 2018 10:56:40 -0800 Subject: [PATCH] Removes unnecessary event firing --- core/style.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/core/style.js b/core/style.js index 03e36911e..d04290a38 100644 --- a/core/style.js +++ b/core/style.js @@ -17,11 +17,9 @@ Blockly.Style = function(blockStyles) { * block styles. */ Blockly.Style.prototype.setAllBlockStyles = function(blockStyles) { - var event = new Blockly.Events.Ui(null, 'blockStylesChanged', this.blockStyles_, blockStyles); for (var key in blockStyles) { this.setBlockStyle(key, blockStyles[key]); } - Blockly.Events.fire(event); }; /**