Commit Graph

403 Commits

Author SHA1 Message Date
kozbial
abbc1b3de3 Split classes from core/events/block_events.js into multiple files 2021-08-09 18:26:43 -07:00
kozbial
a4a3b6a068 Migrate core/renderers/common/block_rendering.js to goog.module 2021-08-09 18:23:07 -07:00
Aaron Dodson
08a8c0be6d Migrate core/contextmenu_registry.js to goog.module syntax (#5149)
* Migrate core/contextmenu_registry.js to ES6 const/let

* Migrate core/contextmenu_registry.js to goog.module

* Migrate core/contextmenu_registry.js to named requires

* clang-format core/contextmenu_registry.js

* Make core/contextmenu_registry.js constructor private
2021-08-09 15:02:03 -07:00
kozbial
ac4fa41cb3 Migrate core/workspace.js to goog.module 2021-08-09 14:59:22 -07:00
Aaron Dodson
fbd7c8ab79 Migrate core/events/workspace_events.js to goog.module syntax (#5274)
* Migrate core/events/workspace_events.js to ES6 const/let

* Migrate core/events/workspace_events.js to goog.module

* Migrate core/events/workspace_events.js to named requires

* clang-format core/events/workspace_events.js

* Update build artifact sizes in check_metadata.sh

* Add comment about root cause of build artifact size change

* Migrate core/events/workspace_events.js to ES6 const/let

* Migrate core/events/workspace_events.js to goog.module

* Migrate core/events/workspace_events.js to named requires

* clang-format core/events/workspace_events.js

* Clarify require name for Blockly.Events.Abstract
2021-08-09 12:43:06 -07:00
Aaron Dodson
b5444b4e89 Migrate core/renderers/geras/path_object.js to goog.module syntax (#5306)
* Migrate core/renderers/geras/path_object.js to goog.module

* Migrate core/renderers/geras/path_object.js to named requires

* clang-format core/renderers/geras/path_object.js
2021-08-09 12:30:07 -07:00
Aaron Dodson
0ffdc6106d Migrate core/block_svg.js to goog.module syntax (#5323)
* Migrate core/block_svg.js to ES6 const/let

* Migrate core/block_svg.js to goog.module

* Migrate core/block_svg.js to named requires

* clang-format core/block_svg.js

* Migrate to goog.module.get for optional Comment/Warning in core/block_svg.js

* Lint changes in core/block_svg.js
2021-08-09 12:24:06 -07:00
kozbial
b834d9026b Add requireType calls for Blockly.WorkspaceComment and Blockly.WorkspaceCommentSvg 2021-08-06 18:05:53 -07:00
kozbial
bbc5ce4e89 Migrate core/events/events_abstract.js to goog.module 2021-08-06 15:53:18 -07:00
Aaron Dodson
23a0b89fc1 Migrate core/block.js to goog.module syntax (#5322)
* Migrate core/block.js to ES6 const/let

* Migrate core/block.js to goog.module

* Migrate core/block.js to ES6 const/let

* Migrate core/block.js to goog.module

* Migrate core/block.js to named requires

* clang-format core/block.js

* Add missing period to comment in core/block.js
2021-08-06 12:30:30 -07:00
Aaron Dodson
2b6d275440 Migrate core/renderers/measurables/types.js to goog.module syntax (#5309)
* Migrate core/renderers/measurables/types.js to goog.module

* Migrate core/renderers/measurables/types.js to named requires

* clang-format core/renderers/measurables/types.js
2021-08-05 13:57:16 -07:00
kozbial
2ea6c4af7f Migrate core/names.js to goog.module 2021-08-05 11:17:37 -07:00
kozbial
68654b34d1 Migrate core/toolbox/category.js to goog.module 2021-08-05 10:55:13 -07:00
kozbial
468360873f Migrate core/options.js and core/blockly_options.js to goog.module 2021-08-05 10:50:44 -07:00
kozbial
ef0fcdbcdd Split Blockly.BlocklyOptions into a separate file 2021-08-05 10:50:44 -07:00
Aaron Dodson
d0b5f6db8b Migrate core/renderers/geras/highlight_constants.js to goog.module syntax (#5303)
* Migrate core/renderers/geras/highlight_constants.js to ES6 const/let

* Migrate core/renderers/geras/highlight_constants.js to goog.module

* Migrate core/renderers/geras/highlight_constants.js to named requires

* clang-format core/renderers/geras/highlight_constants.js
2021-08-05 10:13:03 -07:00
Rachel Fenichel
dad40c85bd Merge pull request #5262 from rachel-fenichel/colour_constant_checks
More cleanup of blockly.js
2021-08-05 09:55:22 -07:00
kozbial
de732f181d Migrate core/input_types.js to goog.module 2021-08-05 09:45:06 -07:00
Aaron Dodson
80b521e8d7 Migrate core/renderers/geras/info.js to goog.module syntax (#5305)
* Migrate core/renderers/geras/info.js to ES6 const/let

* Migrate core/renderers/geras/info.js to goog.module

* Migrate core/renderers/geras/info.js to named requires

* clang-format core/renderers/geras/info.js
2021-08-05 08:09:10 -07:00
Rachel Fenichel
7bc461ea83 polish: export draggingConnections directly 2021-08-04 17:17:24 -07:00
Rachel Fenichel
36c02120e9 Rebuild 2021-08-04 15:59:41 -07:00
Rachel Fenichel
d5a6d7d3db Move draggingConnections to common 2021-08-04 15:59:41 -07:00
Rachel Fenichel
1eabe91fa6 Move set/getParentContainer into common 2021-08-04 15:59:41 -07:00
Aaron Dodson
fba87c93c4 Migrate core/renderers/geras/highlighter.js to goog.module syntax (#5304)
* Migrate core/renderers/geras/highlighter.js to ES6 const/let

* Migrate core/renderers/geras/highlighter.js to goog.module

* Migrate core/renderers/geras/highlighter.js to named requires

* clang-format core/renderers/geras/highlighter.js
2021-08-04 12:12:53 -07:00
kozbial
19722e508f Migrate core/contextmenu.js to goog.module 2021-08-04 09:57:18 -07:00
kozbial
7aa382154c Migrate core/renderers/common/marker_svg.js to goog.module 2021-08-04 09:20:20 -07:00
Aaron Dodson
18efccc2f6 Migrate core/events/events_bubble_open.js to goog.module syntax (#5285)
* Migrate core/events/events_bubble_open.js to ES6 const/let

* Migrate core/events/events_bubble_open.js to goog.module

* Migrate core/events/events_bubble_open.js to named requires
2021-08-04 08:25:07 -07:00
Aaron Dodson
623e901b1c Migrate core/events/events_trashcan_open.js to goog.module syntax (#5277)
* Migrate core/events/events_trashcan_open.js to ES6 const/let

* Migrate core/events/events_trashcan_open.js to goog.module

* Migrate core/events/events_trashcan_open.js to named requires

* clang-format core/events/events_trashcan_open.js
2021-08-04 08:23:38 -07:00
Aaron Dodson
136fc7e668 Migrate core/workspace_drag_surface_svg.js to goog.module syntax (#5263)
* Migrate core/workspace_drag_surface_svg.js to ES6 const/let

* Migrate core/workspace_drag_surface_svg.js to goog.module

* Migrate core/workspace_drag_surface_svg.js to named requires

* clang-format core/workspace_drag_surface_svg.js

* Re-wrap strings onto one line
2021-08-04 08:19:15 -07:00
kozbial
38b44f5dab Remove unecessary implements 2021-08-03 15:32:13 -07:00
kozbial
bce1136500 Migrate core/toolbox/separator.js to goog.module 2021-08-03 15:32:13 -07:00
Aaron Dodson
724cdd3bd2 Migrate core/events/events_selected.js to goog.module syntax (#5281)
* Migrate core/events/events_selected.js to ES6 const/let

* Migrate core/events/events_selected.js to goog.module

* Migrate core/events/events_selected.js to named requires

* clang-format core/events/events_selected.js
2021-08-03 14:36:54 -07:00
Aaron Dodson
35464d4475 Merge pull request #5293 from gonfunko/constants
Migrate core/renderers/geras/constants.js to goog.module syntax
2021-08-03 14:30:39 -07:00
alschmiedt
ceef9491f8 Merge pull request #5176 from alschmiedt/migrate_menu_item
Migrate core/menuitem.js to goog.module syntax
2021-08-03 13:49:25 -07:00
alschmiedt
cc606ba2d2 Migrate core/menuitem.js to goog.module 2021-08-03 13:44:19 -07:00
Aaron Dodson
8e30d9ebd1 Migrate core/renderers/geras/constants.js to goog.module 2021-08-03 10:37:17 -07:00
Aaron Dodson
6f66920437 Merge pull request #5275 from gonfunko/events_viewport
Migrate core/events/events_viewport.js to goog.module syntax
2021-08-03 08:03:08 -07:00
Aaron Dodson
7ab05af063 Merge branch 'goog_module' into events_click 2021-08-03 08:02:43 -07:00
kozbial
318fa4c014 Migrate core/shortcut_items.js to goog.module 2021-08-02 15:57:45 -07:00
kozbial
1d72126e1d Migrate core/positionable_helpers.js to goog.module 2021-08-02 15:57:20 -07:00
Aaron Dodson
2244c497a3 Merge pull request #5280 from gonfunko/events_toolbox_item_select
Migrate core/events/events_toolbox_item_select.js to goog.module syntax
2021-08-02 14:24:24 -07:00
Aaron Dodson
31fc78393f Migrate core/events/events_click.js to goog.module 2021-08-02 11:24:28 -07:00
Aaron Dodson
b9af6677e8 Migrate core/events/events_marker_move.js to named requires 2021-08-02 11:14:52 -07:00
Aaron Dodson
cf97c1c15f Migrate core/events/events_marker_move.js to goog.module 2021-08-02 11:08:51 -07:00
Aaron Dodson
7e9ee2d1c1 Migrate core/events/events_toolbox_item_select.js to goog.module 2021-08-02 09:52:43 -07:00
Aaron Dodson
2294eb9a28 Migrate core/events/events_viewport.js to goog.module 2021-08-02 09:22:04 -07:00
kozbial
af3f04b508 Migrate core/toolbox/toolbox_item.js to goog.module 2021-07-30 15:53:51 -07:00
kozbial
540088f25f Update require to requireType 2021-07-30 15:51:45 -07:00
kozbial
5bbc49c21a Migrate core/scrollbar.js and core/scrollbar_pair.js to goog.module 2021-07-30 15:51:45 -07:00
kozbial
4b2e481340 Split core/scrollbar.js into 2 files 2021-07-30 15:51:45 -07:00