Add test block that breaks renderer.

This commit is contained in:
Neil Fraser
2019-08-27 10:48:15 -07:00
parent e7f10e7c3e
commit 0251340a65
2 changed files with 25 additions and 0 deletions

View File

@@ -103,6 +103,30 @@ Blockly.defineBlocksWithJsonArray([ // BEGIN JSON EXTRACT
"tooltip": "This is a JSON tooltip for the *block*.",
"style": "math_blocks"
},
{
"type": "test_basic_javascript",
"message0": "function %1(%2) { %3 %4 return %5 }",
"args0": [
"foo",
"args",
{
"type": "input_dummy"
},
{
"type": "input_statement",
"name": "STACK"
},
{
"type": "input_value",
"check": "number",
"align": "right",
"name": "RETURN"
}
],
"inputsInline": true,
"colour": 200,
"tooltip": "Hello world."
},
{
"type": "test_dropdowns_long",
"message0": "long: %1",

View File

@@ -1274,6 +1274,7 @@ h1 {
<block type="test_basic_value_to_statement"></block>
<block type="test_basic_limit_instances"></block>
<block type="test_basic_tooltips"></block>
<block type="test_basic_javascript"></block>
</category>
<category name="Drag">
<label text="Drag each to the workspace"></label>