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
efc47714
Commit
efc47714
authored
Jan 15, 2020
by
Conor Shipp
Committed by
Evan W. Patton
Jan 22, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Include if-else and if-elseif-else mutations in blocks drawer
Resolves #1975
parent
68365c94
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
appinventor/blocklyeditor/src/drawer.js
appinventor/blocklyeditor/src/drawer.js
+12
-0
No files found.
appinventor/blocklyeditor/src/drawer.js
View file @
efc47714
...
...
@@ -478,6 +478,18 @@ Blockly.Drawer.getDefaultXMLString = function(blockType,mutatorAttributes) {
};
Blockly
.
Drawer
.
defaultBlockXMLStrings
=
{
controls_if
:
{
xmlString
:
'
<xml>
'
+
'
<block type="controls_if">
'
+
'
</block>
'
+
'
<block type="controls_if">
'
+
'
<mutation else="1"></mutation>
'
+
'
</block>
'
+
'
<block type="controls_if">
'
+
'
<mutation elseif="1" else="1"></mutation>
'
+
'
</block>
'
+
'
</xml>
'
},
controls_forRange
:
{
xmlString
:
'
<xml>
'
+
'
<block type="controls_forRange">
'
+
...
...
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