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
d37f1050
Unverified
Commit
d37f1050
authored
Jul 27, 2016
by
Justus
Committed by
Jeffrey I. Schiller
Jul 27, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Blockly Verification with Other Languages
Change-Id: Ic5f7f2c42d47b960bc106c46fd7d70e3e37b3f69
parent
ce6a3600
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
appinventor/blocklyeditor/src/blocks/components.js
appinventor/blocklyeditor/src/blocks/components.js
+2
-2
No files found.
appinventor/blocklyeditor/src/blocks/components.js
View file @
d37f1050
...
...
@@ -300,7 +300,7 @@ Blockly.Blocks.component_event = {
for
(
var
x
=
0
;
x
<
varList
.
length
;
++
x
)
{
var
found
=
false
;
for
(
var
i
=
0
,
param
;
param
=
params
[
i
];
++
i
)
{
if
(
param
.
name
==
varList
[
x
])
{
if
(
window
.
parent
.
BlocklyPanel_getLocalizedParameterName
(
param
.
name
)
==
varList
[
x
])
{
found
=
true
;
break
;
}
...
...
@@ -580,7 +580,7 @@ Blockly.Blocks.component_method = {
for
(
var
x
=
0
;
x
<
argList
.
length
;
++
x
)
{
var
found
=
false
;
for
(
var
i
=
0
,
param
;
param
=
params
[
i
];
++
i
)
{
if
(
param
.
name
==
argList
[
x
])
{
if
(
window
.
parent
.
BlocklyPanel_getLocalizedParameterName
(
param
.
name
)
==
argList
[
x
])
{
var
input
=
argInputList
[
argList
[
x
]];
if
(
!
input
||
!
input
.
connection
)
{
modifiedParameters
=
true
;
...
...
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