Commit Graph

506 Commits

Author SHA1 Message Date
Monica Kozbial
49bc2b1ae4 Replace namespace annotation with class annotation in files that define a class (#5566) 2021-09-28 15:57:09 -07:00
Monica Kozbial
f67214dac5 Update @package annotations (#5558) 2021-09-28 08:55:49 -07:00
Monica Kozbial
d8fbe1b05b Add namespace and alias annotations to jsdoc (#5550)
* Add annotations to files under core/events

* Add annotations to files under core/interfaces

* Add annotations to files under core/keyboard_nav

* Add annotations to files under core/renderers

* Add annotations to files under core/serialization

* Add annotations to files under core/theme

* Add annotations to files under core/toolbox

* Add annotations to files under core/utils

* Add annotations to files under core
2021-09-27 14:42:54 -07:00
alschmiedt
2b34748e0e chore: remove declareLegacyNamespace from events (#5532)
- Adds an extra events/utils.js file to hold helper methods related to events.
2021-09-24 14:20:32 -07:00
Christopher Allen
8ab8536739 refactor: Migrate Blockly.ConnectionType to named exports (#5533)
* refactor: Migrate Blockly.ConnectionType to named exports
* Add corresponding information to renamings.js
2021-09-24 17:38:08 +01:00
Aaron Dodson
6b07ccab96 chore: Remove declareLegacyNamespace from renderers (#5528)
* chore: Remove declareLegacyNamespace from Geras renderer

* chore: Remove declareLegacyNamespace from minimalist renderer

* chore: Remove declareLegacyNamespace from thrasos renderer

* chore: Remove declareLegacyNamespace from zelos renderer

* fix: Move debugger functionality out of Blockly.blockRendering to avoid dependency cycle when re-exporting submodules

* chore: Remove declareLegacyNamespace from Blockly.blockRendering.*
2021-09-24 08:33:35 -07:00
Himanshu
3629ed5f65 refactor: Rename Blockly.connectionTypes to Blockly.ConnectionType (#5407)
* Renamed Blockly.connectionTypes to Blockly.ConnectionType
* Renamed core/connection_types.js to connection_type.js
* Add entry to renamings.js for renaming of Blockly.connectionTypes

Co-authored-by: Christopher Allen <cpcallen+git@google.com>
2021-09-24 12:45:10 +01:00
kozbial
61a0773427 Merge branch 'goog_module' into merge-develop-to-goog_module 2021-09-22 13:27:33 -07:00
alschmiedt
73580b0ddb chore: named exports for keyboard_nav* files (#5517) 2021-09-22 11:25:38 -07:00
kozbial
900dfc7c68 Remove references to fully qualified namespace 2021-09-22 09:37:47 -07:00
kozbial
fd251dae22 Merge branch 'goog_module' into merge-develop-to-goog_module 2021-09-22 09:27:52 -07:00
Rachel Fenichel
3adfaaf6d9 chore: named exports for block* files (#5512)
* chore: named export for block.js

* chore: named export for block_drag_surface.js

* chore: named export for block_dragger.js

* chore: named export for block_svg.js

* Fix import ordering

* chore: fix imports using requireType

* Remove extra require
2021-09-22 08:46:19 -07:00
kozbial
6fc90213a6 Merge branch 'develop' into merge-develop-to-goog_module 2021-09-21 16:04:33 -07:00
Christopher Allen
e7955084ae refactor: Remove remaining references to Blockly.* from goog.modules (#5505) 2021-09-21 17:51:35 +01:00
Christopher Allen
c31895dc60 fix: Add missing require for Blockly.utils.object, .Size (#5427)
Some files were using Blockly.utils.object.inherits (or .mixin) without
having imported Blockly.utils.object.

Similarly, trashcan.js tried to use utils.Size as a constructor
instead of importing Size from Blockly.utils.Size.
2021-09-03 22:45:54 +01:00
kozbial
5dd4e1ed50 Cleanup in core/renderers/zelos/measurables/inputs.js 2021-08-19 10:40:53 -07:00
kozbial
810e1e19a5 clang-format core/renderers/zelos/measurables/inputs.js 2021-08-19 10:40:53 -07:00
kozbial
a6271bb3d5 Migrate core/renderers/zelos/measurables/inputs.js named requires 2021-08-19 10:40:53 -07:00
kozbial
40474324f6 Migrate core/renderers/zelos/measurables/inputs.js to goog.module 2021-08-19 10:40:53 -07:00
kozbial
57644d1e29 Migrate core/renderers/zelos/measurables/inputs.js to ES6 const/let 2021-08-19 10:40:53 -07:00
kozbial
26802bcb7f clang-format core/renderers/zelos/measurables/rows.js 2021-08-19 09:35:26 -07:00
kozbial
297f2a0b60 Migrate core/renderers/zelos/measurables/rows.js named requires 2021-08-19 09:35:26 -07:00
kozbial
c85714b1c6 Migrate core/renderers/zelos/measurables/rows.js to goog.module 2021-08-19 09:35:26 -07:00
kozbial
ede4d3630b Migrate core/renderers/zelos/measurables/rows.js to ES6 const/let 2021-08-19 09:35:26 -07:00
kozbial
3e1099e2b8 Split classes from core/renderers/zelos/measurables/rows.js into multiple files 2021-08-19 09:35:26 -07:00
kozbial
bcfca5c198 clang-format core/renderers/zelos/measurables/row_elements.js 2021-08-18 15:57:53 -07:00
kozbial
b69800623b Migrate core/renderers/zelos/measurables/row_elements.js named requires 2021-08-18 15:57:53 -07:00
kozbial
d37df416e1 Migrate core/renderers/zelos/measurables/row_elements.js to goog.module 2021-08-18 15:57:53 -07:00
kozbial
72bbd3fa69 clang-format core/renderers/zelos/renderer.js 2021-08-18 09:43:17 -07:00
kozbial
9bfbd09a22 Migrate core/renderers/zelos/renderer.js named requires 2021-08-18 09:43:17 -07:00
kozbial
2ea51db549 Migrate core/renderers/zelos/renderer.js to goog.module 2021-08-18 09:43:17 -07:00
kozbial
d30b0f5f3c clang-formant core/renderers/measurables/connections.js 2021-08-17 12:41:28 -07:00
kozbial
673c64dab8 Migrate core/renderers/measurables/connections.js named requires 2021-08-17 12:41:28 -07:00
kozbial
974c73f0b9 Migrate core/renderers/measurables/connections.js to goog.module 2021-08-17 12:41:28 -07:00
kozbial
d50247664a Split classes from core/renderers/measurables/connections.js into multiple files 2021-08-17 12:41:28 -07:00
kozbial
e75a50b8b9 clang-format core/renderers/zelos/path_object.js 2021-08-17 12:31:31 -07:00
kozbial
07ddf67aa9 Migrate core/renderers/zelos/path_object.js named requires 2021-08-17 12:31:31 -07:00
kozbial
d6eb6c14ef Migrate core/renderers/zelos/path_object.js to goog.module 2021-08-17 12:31:31 -07:00
kozbial
b4b8b22994 Migrate core/renderers/zelos/path_object.js to ES6 const/let 2021-08-17 12:31:31 -07:00
kozbial
a9d4adcbf0 Remove unused variables in core/renderers/measurables/top_row.js 2021-08-17 09:41:32 -07:00
kozbial
ec04c9ca36 Fix jsdoc in core/renderers/measurables/bottom_row.js 2021-08-17 09:41:32 -07:00
kozbial
57d6c40061 clang-format core/renderers/measurables/rows.js 2021-08-17 09:41:32 -07:00
kozbial
c56da8c93a Migrate core/renderers/measurables/rows.js named requires 2021-08-17 09:41:32 -07:00
kozbial
5038907c67 Migrate core/renderers/measurables/rows.js 2021-08-17 09:41:32 -07:00
kozbial
6bf554643a Migrate core/renderers/measurables/rows.js to goog.module 2021-08-17 09:41:32 -07:00
kozbial
11f4479faf Split classes from core/renderers/measurables/rows.js into multiple files 2021-08-17 09:41:32 -07:00
Aaron Dodson
dbe7aaa8c8 Migrate core/renderers/measurables/row_elements.js to goog.module syntax (#5381)
* Split provides in core/renderers/measurables/row_elements.js into individual files

* Migrate core/renderers/measurables/row_elements.js to ES6 const/let

* Migrate core/renderers/measurables/row_elements.js to goog.module

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

* clang-format core/renderers/measurables/row_elements.js
2021-08-16 15:54:11 -07:00
kozbial
6bf9a336f4 clang-format core/renderers/thrasos/info.js 2021-08-16 11:23:51 -07:00
kozbial
ce662f43d9 Migrate core/renderers/thrasos/info.js named requires 2021-08-16 11:23:51 -07:00
kozbial
1cd9e1c8ea Migrate core/renderers/thrasos/info.js to goog.module 2021-08-16 11:23:51 -07:00