-
Notifications
You must be signed in to change notification settings - Fork 513
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
runPythonSource should allow additional options like debug, class, cache currently available only using script tag #2421
Comments
…reted as script attributes. Can be used to pass execution options. Related to issue #2421
Good point Shlomi ! In the commit referenced above I have changed the implementation of I don't mark the issue as closed yet, could you check if the result works for you ? |
Thanks Pierre :)
All worked with the latest version. I couldn't make the following webworker example work:
It throws : Best regards, |
Current runPythonSource supports specifing only script_id:
__BRYTHON__.runPythonSource(src[, script_id])
However it does not allow setting additional options like class, debug , etc , forcing usage of the script tag.
Feature request:
If possible, have the function recieve an extra optinal parameter for additional options:
__BRYTHON__.runPythonSource(src[[, script_id], options])
example:
__BRYTHON__.runPythonSource(src, "main", {debug:"1"}])
The text was updated successfully, but these errors were encountered: