Jim Jiang 1b10d134a5 Add Block.setEnabled (#2386)
* Implement Block.setEnabled()

From issue #1593. This commit:
- add setEnabled
- deprecate setDisabled

* Update setDisabled calls to setEnabled

Add setEnabled and deprecate setDisabled in
- core/block_svg

Update calls in
- blocks/loops
- blocks/procedures
- core/block_events
- core/events
- core/flyout_base
- core/xml
- tests/workplace_svg/procedure_svg_test

* Implement changes from comments from RoboErikG

- Implement isEnabled()
- Make this.disabled @private
- Make setDisabled(disabled) call setEnabled(!disabled)
- Update setEnabled to use isEnabled()

* Utilize isEnabled() and fix typos

Fix missing parentheses
Implement isEnabled() more widely
Fix lint and parentheses errors

* Change prevDisabledState to prevEnabledState
2019-04-23 08:49:07 -07:00
2019-04-23 08:49:07 -07:00
2019-04-23 08:49:07 -07:00
2018-09-23 13:31:54 -07:00
2019-04-23 08:49:07 -07:00
2019-02-06 14:24:41 -08:00
2019-03-29 11:06:08 -07:00
2015-08-03 20:34:07 +02:00
2018-11-14 10:50:52 -08:00
2019-04-08 19:21:02 -07:00
2019-04-08 19:21:02 -07:00
2019-04-08 19:21:02 -07:00
2019-03-27 15:47:29 -07:00
2019-04-08 19:21:02 -07:00
2018-12-17 14:24:59 -08:00
2016-04-11 17:25:48 -07:00
2018-12-17 14:24:59 -08:00
2019-01-11 16:18:04 -08:00
2018-12-17 14:24:59 -08:00
2019-04-18 12:18:05 -07:00

Blockly Build Status

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/

Blockly has an active developer forum. Please drop by and say hello. Show us your prototypes early; collectively we have a lot of experience and can offer hints which will save you time.

Help us focus our development efforts by telling us what you are doing with Blockly. The questionnaire only takes a few minutes and will help us better support the Blockly community.

Cross-browser Testing Platform and Open Source <3 Provided by Sauce Labs

Want to contribute? Great! First, read our guidelines for contributors.

Description
The web-based visual programming editor.
Readme Apache-2.0 250 MiB
Languages
TypeScript 51.3%
JavaScript 40.6%
Python 2.1%
HTML 1.8%
PHP 1.5%
Other 2.7%