mirror of
https://github.com/google/blockly.git
synced 2026-01-08 09:30:06 +01:00
feat: refactor event serialization to use static fromJson method (#6614)
* feat: add new path for deserialization of events * chore: add tests for round-tripping events * chore: add static fromJson methods to all events * chore: add inline docs to new static methods * chore: add deprecation warnings * chore: cleanup * chore: add deprecation and docs to abstract * chore: format * chore: cleanup from rebase * chore: update docs comment
This commit is contained in:
@@ -50,9 +50,6 @@
|
||||
|
||||
// Test modules.
|
||||
'Blockly.test.astNode',
|
||||
'Blockly.test.blockChangeEvent',
|
||||
'Blockly.test.blockDeleteEvent',
|
||||
'Blockly.test.blockCreateEvent',
|
||||
'Blockly.test.blockJson',
|
||||
'Blockly.test.blocks',
|
||||
'Blockly.test.comments',
|
||||
@@ -64,6 +61,26 @@
|
||||
'Blockly.test.cursor',
|
||||
'Blockly.test.dropdown',
|
||||
'Blockly.test.event',
|
||||
'Blockly.test.eventBlockChange',
|
||||
'Blockly.test.eventBlockCreate',
|
||||
'Blockly.test.eventBlockDelete',
|
||||
'Blockly.test.eventBlockDrag',
|
||||
'Blockly.test.eventBlockMove',
|
||||
'Blockly.test.eventBubbleOpen',
|
||||
'Blockly.test.eventClick',
|
||||
'Blockly.test.eventCommentChange',
|
||||
'Blockly.test.eventCommentCreate',
|
||||
'Blockly.test.eventCommentDelete',
|
||||
'Blockly.test.eventCommentMove',
|
||||
'Blockly.test.eventMarkerMove',
|
||||
'Blockly.test.eventSelected',
|
||||
'Blockly.test.eventThemeChange',
|
||||
'Blockly.test.eventToolboxItemSelect',
|
||||
'Blockly.test.eventTrashcanOpen',
|
||||
'Blockly.test.eventVarCreate',
|
||||
'Blockly.test.eventVarDelete',
|
||||
'Blockly.test.eventVarRename',
|
||||
'Blockly.test.eventViewportChange',
|
||||
'Blockly.test.extensions',
|
||||
'Blockly.test.fieldAngle',
|
||||
'Blockly.test.fieldCheckbox',
|
||||
|
||||
Reference in New Issue
Block a user