mirror of
https://github.com/google/blockly.git
synced 2026-01-14 12:27:10 +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.
21 lines
664 B
HTML
21 lines
664 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Unit Tests for Blockly</title>
|
|
<script src="../../blockly_uncompressed.js"></script>
|
|
<script>goog.require('goog.testing.jsunit');</script>
|
|
</head>
|
|
<body>
|
|
<script src="utils_test.js"></script>
|
|
<script src="connection_test.js"></script>
|
|
<script src="connection_db_test.js"></script>
|
|
<script src="field_angle_test.js"></script>
|
|
<script src="field_number_test.js"></script>
|
|
<script src="generator_test.js"></script>
|
|
<script src="names_test.js"></script>
|
|
<script src="workspace_test.js"></script>
|
|
<script src="xml_test.js"></script>
|
|
</body>
|
|
</html>
|