google / blockly-android

Blockly for Android
Apache License 2.0
672 stars 209 forks source link

Fix #740 #759

Closed TheBrokenRail closed 5 years ago

TheBrokenRail commented 5 years ago

This fixes #740 by adding a custom property to the definitions which tells it to use Blockly web's definition of the block and not Blockly Android's definition, while still allowing you to override web definitions if you wanted. This custom property is `useWebDefinition, this is needed because the function blocks reference a mutator that only exists on android.


This change is Reviewable