chore: Reduce delta on ports to blockly-samples (#6886)

* Reduce usage of obsolete .keyCode property.
* Rename private properties/methods which violate eslint rules.
* Use arrays of bound events rather than individual properties.
* Improve typing info.
* Also fix O(n^2) recursive performance issue in theme's getComponentStyle function.
* And replace String(...) with '${...}' (smaller, faster).
* .toString() is considered harmful.
This commit is contained in:
Neil Fraser
2023-03-15 21:28:57 +01:00
committed by GitHub
parent 66fd055a83
commit 42fde0f81b
56 changed files with 756 additions and 847 deletions

View File

@@ -5,7 +5,7 @@ body:
- type: markdown
attributes:
value: >
Thank you for taking the time to fill out a bug report!
Thank you for taking the time to fill out a bug report!
If you have a question about how to use Blockly in your application,
please ask on the [forum](https://groups.google.com/forum/#!forum/blockly) instead of filing an issue.
- type: checkboxes

View File

@@ -6,7 +6,7 @@ body:
- type: markdown
attributes:
value: >
Thank you for taking the time to fill out a feature request!
Thank you for taking the time to fill out a feature request!
If you have a question about how to use Blockly in your application,
please ask on the [forum](https://groups.google.com/forum/#!forum/blockly) instead of filing an issue.
- type: checkboxes