Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
appinventor-sources
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
appinventor-sources
Commits
d73d2bb4
Commit
d73d2bb4
authored
Aug 06, 2019
by
Susan Rati Lane
Committed by
Jeffrey Schiller
Aug 08, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix blocks missing from editor after Blocks Toolkit enhancement
Change-Id: Id1365f151e87f28c15e130e81e19885694158a0f
parent
31e3fec6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
appinventor/blocklyeditor/src/drawer.js
appinventor/blocklyeditor/src/drawer.js
+4
-0
No files found.
appinventor/blocklyeditor/src/drawer.js
View file @
d73d2bb4
...
@@ -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
"
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment