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
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
Aaron Dodson
e1310b6464
fix: JSDoc generation for modules without classes
2021-09-22 14:37:55 -07:00
Beka Westberg
e954193009
fix: project cereal cleanup ( #5398 )
...
* fix: make exception constructors package
* fix: rename blocks.load to blocks.append
* fix: inline docs
* fix: consistency in block serialization
* fix: remove unexported functions
* fix: interface requires
* fix: tag TODO with issue number
2021-09-20 13:08:35 -07:00
Beka Westberg
410365f4a1
feat: add support for defining toolboxes using pure json ( #5392 )
...
* feat: add recycling to core
* feat: add support for json block definitions in flyout
* tests: reorganize tests
* tests: add tests for generating contents
* Fixup reycling
* tests: add tests for recycling
* fix: types
* fix: lint
* fix: PR comments
* fix: creating blocks from flyout
* test: add test block to playground
* fix: types
* feat: add support for enabled
2021-09-20 13:08:35 -07:00
Christopher Allen
51d9dad31f
Re-export Blockly.utils.* submodules from Blockly.utils ( #5465 )
...
* Reexport Blockly.utils.* modules from Blockly.utils
* Update metadata (file sizes) again
blockly_compressed.js has gotten too big for the second time this
quarter. Update the expected file sizes for it so that tests
will continue to pass.
2021-09-16 18:23:33 +01:00
Monica Kozbial
bec82da358
Remove require destructuring ( #5294 )
2021-08-03 15:07:14 -07:00
Aaron Dodson
0e6258ca1a
Migrated to inline exports
2021-07-21 08:17:13 -07:00
alschmiedt
268a83d054
Address PR comments
2021-07-19 13:40:05 -07:00
alschmiedt
fe9273ad5c
clang-format core/utils/toolbox.js
2021-07-15 13:00:45 -07:00
alschmiedt
2ab3bfd4cb
Migrate core/utils/toolbox.js named requires
2021-07-15 12:56:39 -07:00
alschmiedt
d3cc70eb37
Migrate core/utils/toolbox.js to goog.module
2021-07-15 12:56:01 -07:00
alschmiedt
f0d905dde0
Migrate core/utils/toolbox.js to ES6 const/let
2021-07-15 12:55:35 -07:00
Maribeth Bottorff
74f1926b6a
fix doc typo
2021-07-01 19:11:06 -07:00
Neil Fraser
cff7b359f4
Make comments more consistent.
2021-06-09 11:41:42 -07:00
Neil Fraser
76b5517008
Use null-prototype objects for maps
...
A {} has a bunch of names already defined on it (like ‘toString’). When using an object as a map with arbitrary keys, it should not inherit from Object.prototype.
2021-06-09 11:41:42 -07:00
Neil Fraser
f64c11d74e
Make JSDoc object nullability more strict.
...
Also make Blockly.utils.deprecation.warn apply to properties.
2021-05-27 21:30:26 -07:00
Neil Fraser
17f9209f2f
Add missing extern
2021-05-27 21:30:26 -07:00
Rachel Fenichel
f7e0d5f4ea
Use existing toolbox position enum
2021-03-05 14:16:43 -08:00
Rachel Fenichel
59084a043c
TOOLBOX_AT_TOP and friends -> constants.toolboxPosition.TOP, etc
2021-03-05 13:48:45 -08:00
Sam El-Husseini
63d26dc186
Add extra requires check ( #4677 )
...
* Add extra requires check
2021-03-05 09:50:51 -08:00
Sam El-Husseini
ab8a11784d
Fix event related missing requires ( #4656 )
...
* Fix event related missing requires
2021-02-25 14:28:11 -08:00
alschmiedt
edbd6991b4
Small fixes to the toolbox ( #4380 )
2020-10-19 09:43:41 -07:00
Sam El-Husseini
fba35d342c
Add missing require Blockly.constants ( #4366 )
2020-10-12 17:56:42 -04:00
michellammertink
b27231c0e3
Add Blockly.constants dependency to utils/toolbox.js ( #4360 )
2020-10-12 11:53:49 -07:00
alschmiedt
a0c0b86679
Fix toolbox types ( #4355 )
2020-10-07 11:04:10 -07:00
Maribeth Bottorff
f6688d0339
Convert toolbox position to enum ( #4284 )
...
Convert toolbox position to enum
2020-09-16 10:54:17 -07:00
alschmiedt
d01169fa79
Toolbox Rewrite ( #4223 )
...
Rewrite the toolbox in order to get rid of old closure code and make it easier to extend.
Co-authored-by: Maribeth Bottorff <maribethb@google.com >
2020-09-02 08:13:07 -07:00
Sam El-Husseini
5d43d256e2
Move test blocks to dev-tools, refactor advanced playground ( #4057 )
...
* Remove remaining advanced playground actions, and remove test blocks
2020-07-24 13:53:00 -07:00
alschmiedt
95986574cc
Update Console Logs for Toolbox ( #3986 )
...
* Add check for toolbox categories
* Fix
2020-06-22 16:26:30 -07:00
alschmiedt
b1211f6dd2
Add a console warning for defining a toolbox using JSON ( #3937 )
2020-06-10 11:11:28 -07:00
alschmiedt
b77a30450e
Fix performance ( #3931 )
...
* Speed up performance for converting the xml to json
2020-06-05 09:22:52 -07:00
alschmiedt
26e84fef11
Add ability to add blocks by type ( #3928 )
...
* Add ability to add blocks by type
2020-06-04 12:49:04 -07:00
Sam El-Husseini
fd916fdb9b
Bounding Box interface ( #3906 )
...
* Add an interface describing a bounding box registered on the workspace
* Clear the bounding box array
* PR comments
* Update chromedriver
2020-05-19 18:06:11 -07:00
alschmiedt
d0e91a15a2
Toolbox definition ( #3891 )
...
* Add support for creating a toolbox with JSON
2020-05-13 08:16:53 -07:00