Rachel Fenichel
f5caf964aa
refactor: convert renderer classes to es6 classes ( #5874 )
...
* refactor: convert zelos renderer classes to es6 classes
* refactor: convert zelos measurables to es6 classes
* refactor: convert thrasos classes to es6 classes
* refactor: convert minimalist classes to es6 classes
* refactor: update geras classes to es6 classes
* chore: rebuild and format
* chore: fix indentation in comments
2022-01-14 12:43:13 -08:00
Christopher Allen
c0d22f2002
refactor: Rename ALIGN to Align and move from constants.js to input.js ( #5742 )
...
This constant is used to specify the alignment of
an Input, so it should live in the same file as the Input class.
I've done this as a separate named export, but it could alternatively
be made a static member of Input (i.e., Input.Align with only Input
being exported by name).
Where mocha tests were referring to Blockly.constants.ALIGN.*
without actually requiring Blockly.constants, I have reverted
them to refer to Blockly.ALIGN_* instead (pending conversion
to named requries).
Part of #5073 .
2021-11-29 21:59:48 +00:00
Rachel Fenichel
f14a1c8034
chore: fix more lint ( #5676 )
...
* chore: fix assorted lint
* chore: clang-format
* chore: clang-format
2021-11-08 16:41:52 -08:00
yang
bc7329f34a
fix(zelos): typo ( #5649 )
2021-10-31 23:21:15 -07:00
alschmiedt
0f3c06306f
chore: runs clang format on all files ( #5627 )
2021-10-21 15:22:24 -07:00
Rachel Fenichel
e8d6f7f408
chore: auto-fix violations of comma-dangle rule ( #5625 )
2021-10-21 09:01:51 -07:00
Aaron Dodson
3851b14627
refactor: Migrate to named exports ( #5623 )
...
* refactor: Migrate to named exports
* fix: Sort requires
* fix: Remove duplicate deps
2021-10-20 15:53:23 -07:00
Neil Fraser
90b3f75d82
Remove @author tags ( #5601 )
...
Our files are up to a decade old, and have churned so much, that the initial author of the file no longer has much meaning.
Furthermore, this will encourage developers to post to the developer group, rather than emailing Googlers (usually me) directly.
2021-10-15 09:50:46 -07:00
Neil Fraser
c929b3015b
chore: Convert == to === and != to !== where possible. ( #5599 )
2021-10-15 09:17:04 -07:00
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
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
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
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
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
hpnrep6
2a9ef4f0f0
fix: blocks with no next connections overlapping statement input in Zelos ( #5369 )
...
* Use zelos' StatementInput function in addInput_
* Add align check to addInput_
2021-08-13 17:32:26 -07:00
kozbial
012bb89986
Revert clang-format on comment in core/renderers/zelos/marker_svg.js
2021-08-12 17:04:18 -07:00
kozbial
08626a689a
clang-format core/renderers/zelos/marker_svg.js
2021-08-12 17:04:18 -07:00
kozbial
52d6af787e
Migrate core/renderers/zelos/marker_svg.js named requires
2021-08-12 17:04:18 -07:00
kozbial
42ce46bdd8
Migrate core/renderers/zelos/marker_svg.js to goog.module
2021-08-12 17:04:18 -07:00
kozbial
428621688f
Migrate core/renderers/zelos/marker_svg.js to ES6 const/let
2021-08-12 17:04:18 -07:00
kozbial
8e5fcaf724
clang-format core/renderers/zelos/info.js
2021-08-12 16:00:29 -07:00
kozbial
10e8349bad
Migrate core/renderers/zelos/info.js named requires
2021-08-12 16:00:29 -07:00
kozbial
a0980ae3be
Migrate core/renderers/zelos/info.js to goog.module
2021-08-12 16:00:29 -07:00
kozbial
390cc692bb
Migrate core/renderers/zelos/info.js to ES6 const/let
2021-08-12 16:00:29 -07:00