Closed feat7 closed 5 years ago
Thanks for the pull request - I appreciate it.
Left a comment. Please let me know if you have any questions!
The main issue is that this check should be put during the AJAX check_code
call not during the run_code
and should check if the Editor is empty or if the error list is empty
The real problem is not anywhere in the java script code. It is in the python code to run the code. When the input is empty, the stdin or stdout gives the previous input that is available there. ie. It doesn't flush previous stdin/stdout.
Fixes #34 Also shows 'Write code to see something!' message when the code is not written.