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
6321cba5
Commit
6321cba5
authored
Mar 13, 2020
by
Raghav Khanna
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
codeToEval
parent
35e6b159
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
+9
-5
src/App.js
src/App.js
+9
-5
No files found.
src/App.js
View file @
6321cba5
...
...
@@ -63,11 +63,15 @@ class App extends React.Component {
})
}
readInputCallBack
=
(
input
)
=>
{
console
.
log
(
test
)
test
=
""
;
}
readInputCallBack
=
(
codeToEval
)
=>
{
console
.
log
(
test
);
if
(
!
EMULATOR_IS_INPUT
){
EMULATOR_CONSOLE_READ
=
window
.
prompt
()
}
eval
(
codeToEval
);
EMULATOR_CONSOLE_READ
=
""
;
EMULATOR_IS_INPUT
=
false
;
};
processWaccCode
=
async
(
code
)
=>
{
let
rsp
=
await
sendWaccCode
(
code
);
...
...
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