Commit d73d2bb4 authored by Susan Rati Lane's avatar Susan Rati Lane Committed by Jeffrey Schiller

Fix blocks missing from editor after Blocks Toolkit enhancement

Change-Id: Id1365f151e87f28c15e130e81e19885694158a0f
parent 31e3fec6
...@@ -148,6 +148,7 @@ Blockly.Drawer.createBlockInfoArray_ = function() { ...@@ -148,6 +148,7 @@ Blockly.Drawer.createBlockInfoArray_ = function() {
"STEP":{inputType:"value",blockInfo:{type:"math_number",fieldNameToValue:{"NUM":"1"}}} "STEP":{inputType:"value",blockInfo:{type:"math_number",fieldNameToValue:{"NUM":"1"}}}
}}, }},
{type:"controls_forEach"}, {type:"controls_forEach"},
{type:"controls_break"},
{type:"controls_while"}, {type:"controls_while"},
{type:"controls_choose"}, {type:"controls_choose"},
{type:"controls_do_then_return"}, {type:"controls_do_then_return"},
...@@ -169,6 +170,7 @@ Blockly.Drawer.createBlockInfoArray_ = function() { ...@@ -169,6 +170,7 @@ Blockly.Drawer.createBlockInfoArray_ = function() {
{type:"math_multiply"}, {type:"math_multiply"},
{type:"math_division"}, {type:"math_division"},
{type:"math_power"}, {type:"math_power"},
{type:"math_bitwise"},
{type:"math_random_int", input:{ {type:"math_random_int", input:{
"FROM":{inputType:"value", blockInfo:{type:"math_number",fieldNameToValue:{"NUM":"1"}}}, "FROM":{inputType:"value", blockInfo:{type:"math_number",fieldNameToValue:{"NUM":"1"}}},
"TO":{inputType:"value", blockInfo:{type:"math_number", fieldNameToValue:{"NUM":"100"}}} "TO":{inputType:"value", blockInfo:{type:"math_number", fieldNameToValue:{"NUM":"100"}}}
...@@ -215,6 +217,8 @@ Blockly.Drawer.createBlockInfoArray_ = function() { ...@@ -215,6 +217,8 @@ Blockly.Drawer.createBlockInfoArray_ = function() {
{type:"lists_is_in"}, {type:"lists_is_in"},
{type:"lists_length"}, {type:"lists_length"},
{type:"lists_is_empty"}, {type:"lists_is_empty"},
{type:"lists_reverse"},
{type:"lists_join_with_separator"},
{type:"lists_pick_random_item"}, {type:"lists_pick_random_item"},
{type:"lists_position_in"}, {type:"lists_position_in"},
{type:"lists_select_item"}, {type:"lists_select_item"},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment