mirror of
https://github.com/google/blockly.git
synced 2026-01-09 10:00:09 +01:00
clang-format core/events/events_ui.js
This commit is contained in:
@@ -34,8 +34,7 @@ const registry = goog.require('Blockly.registry');
|
||||
* @deprecated December 2020. Instead use a more specific UI event.
|
||||
* @constructor
|
||||
*/
|
||||
const Ui = function(opt_block, opt_element, opt_oldValue,
|
||||
opt_newValue) {
|
||||
const Ui = function(opt_block, opt_element, opt_oldValue, opt_newValue) {
|
||||
const workspaceId = opt_block ? opt_block.workspace.id : undefined;
|
||||
Ui.superClass_.constructor.call(this, workspaceId);
|
||||
|
||||
@@ -79,6 +78,5 @@ Ui.prototype.fromJson = function(json) {
|
||||
this.blockId = json['blockId'];
|
||||
};
|
||||
|
||||
registry.register(registry.Type.EVENT, Events.UI,
|
||||
Ui);
|
||||
registry.register(registry.Type.EVENT, Events.UI, Ui);
|
||||
exports = Ui;
|
||||
|
||||
Reference in New Issue
Block a user