mirror of
https://github.com/google/blockly.git
synced 2026-01-10 02:17:09 +01:00
FieldNumber and FieldAngle previously accepted "undefined" as values, if not defined in JSON. This catches these and uses "0" for any NaN value. The constructor value parameter is now optional. Includes tests.