Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
wacc_26_web_client
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
rk4718
wacc_26_web_client
Commits
66574a0a
Commit
66574a0a
authored
Mar 13, 2020
by
Raghav Khanna
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correctly handle prints that occur before a read
parent
5b6a75f5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
src/App.js
src/App.js
+4
-0
No files found.
src/App.js
View file @
66574a0a
...
...
@@ -117,6 +117,10 @@ class App extends React.Component {
proccesLine
=
()
=>
{
if
(
this
.
state
.
statementIndex
<
this
.
state
.
mainStatements
.
length
)
{
let
current
=
this
.
state
.
currentNode
;
if
(
current
.
name
.
includes
(
"
StatementRead
"
)){
eval
(
"
waccPrintFinished()
"
);
eval
(
"
waccPrintingBuffer =
\"\"
"
)
}
let
jsLines
=
this
.
state
.
js
.
code
.
split
(
"
\n
"
);
let
startLine
=
current
.
highlighting
.
js
[
0
].
startRow
;
let
endLine
=
current
.
highlighting
.
js
[
0
].
endRow
;
...
...
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