mirror of
https://github.com/google/blockly.git
synced 2026-01-11 19:07:08 +01:00
Add test block that breaks renderer.
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user