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
dc0307cc
Commit
dc0307cc
authored
Apr 24, 2020
by
Evan W. Patton
Committed by
Evan W. Patton
May 07, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix project loading with bad text-number connections
Change-Id: I78c1666fd34346e46e68e112d02603e4de197fa5
parent
5f113ef8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
appinventor/blocklyeditor/src/warningHandler.js
appinventor/blocklyeditor/src/warningHandler.js
+9
-0
No files found.
appinventor/blocklyeditor/src/warningHandler.js
View file @
dc0307cc
...
...
@@ -39,6 +39,15 @@ Blockly.WarningHandler.WarningState = {
ERROR
:
2
};
/**
* Regular expression for floating point numbers.
*
* @type {!RegExp}
* @const
*/
Blockly
.
WarningHandler
.
NUMBER_REGEX
=
new
RegExp
(
"
^[-+]?[0-9]*(
\\
.[0-9]+)?([eE][-+][0-9]+)?$
"
)
/**
* The currently selected index into the array of block IDs with warnings. If nothing has been
* selected (i.e., if we are not stepping through warnings), this should be -1 so that the next
...
...
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