mirror of
https://github.com/google/blockly.git
synced 2025-12-15 13:50:08 +01:00
5f6bfe0a92a85aba32d3ed6d03c9c24cfe38fd1b
This commit makes the following changes: 1. Improves the mutator code for use under the App Inventor blocks rendering algorithm which walks the blocks tree starting from a given node. Iterating over children resulted in an O(n^2) performance. 2. Prevents events from firing when the mutator is first opened, which prevents superfluous rerendering operations before any changes have been made by the user. 3. Defers resizing the mutator workspace on every block change to only occur once at the end of the current JavaScript execution context via setTimeout(). Fixes mit-cml/appinventor-sources#959
Blockly
Google's Blockly is a web-based, visual programming editor. Users can drag blocks together to build programs. All code is free and open source.
The project page is https://developers.google.com/blockly/
Description
Languages
TypeScript
51.3%
JavaScript
40.6%
Python
2.1%
HTML
1.8%
PHP
1.5%
Other
2.7%
