-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Blocked by #2
When this is "compiling" JavaScript via src/compile.py, there should be some "sanity-checking" on the output.
Looks like this would be made possible by adding a requirement (there will be a requirements.txt now)
pip install pyjsparser
Then parse the script and check for an exception like so...
import pyjsparser
try:
pyjsparser.parse(output_javascript)
except:
print('Your JavaScript sucks')
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request