Neil Fraser
b84cda2c76
Strip out more bloat from toolbox ( #3068 )
...
Also removes three private accesses from workspaceSvg into toolbox tree.
The strategy for workspace.updateToolbox is no longer to clear and repopulate the toolbox, but rather to throw away the old toolbox and rebuild a new one. This is simpler and more reliable.
This commit trims off another KB from the compiled code.
2019-09-23 15:18:32 -07:00
Neil Fraser
0726e4a909
Removed unreachable functions from Blockly.Component
2019-09-20 10:36:06 -07:00
Neil Fraser
fb17b0276d
Remove unused CSS classes.
2019-09-20 10:36:06 -07:00
Neil Fraser
28953d8ea0
Simplify Blockly.utils.IdGenerator
...
Also drop unused menu highlight hook.
2019-09-20 10:36:06 -07:00
Neil Fraser
23caa12571
Error is a constructor, ‘new’ is not required.
2019-09-12 18:02:59 -07:00
Neil Fraser
096959fde9
Cleanup of last fortnight’s commits. ( #2865 )
...
No functional changes.
2019-08-19 14:07:48 -07:00
Sam El-Husseini
2b26787185
Blockly menus without closure ( #2831 )
...
* Blockly Menu and MenuItem that don't rely on the closure library.
2019-08-16 17:23:14 -07:00
Sam El-Husseini
dbcdaf0d21
Foundation for no-closure toolbox ( #2818 )
...
* A subset of closure tree components for building a no-closure toolbox
2019-08-14 11:22:21 -07:00