We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Imagine className could be "String();doWhatever"
Better create a function to create the instances. Split the class name at dots, then go var base=window; base=base["first"]; and so on to get the desired class. Finally use one the approaches explained here https://stackoverflow.com/questions/3362471/how-can-i-call-a-javascript-constructor-using-call-or-apply https://stackoverflow.com/questions/1606797/use-of-apply-with-new-operator-is-this-possible to securely create the instance. The good thing is you never pass any parameters (14 times in 8 files), so the fix should not be a big deal.
The text was updated successfully, but these errors were encountered:
fixed Bugs freegroup#183, freegroup#182, freegroup#181, freegroup#180
bff86f6
Added shapes for flow chemistry
No branches or pull requests
Imagine className could be "String();doWhatever"
Better create a function to create the instances. Split the class name at dots, then go
var base=window;
base=base["first"];
and so on to get the desired class. Finally use one the approaches explained here
https://stackoverflow.com/questions/3362471/how-can-i-call-a-javascript-constructor-using-call-or-apply
https://stackoverflow.com/questions/1606797/use-of-apply-with-new-operator-is-this-possible
to securely create the instance. The good thing is you never pass any parameters (14 times in 8 files), so the fix should not be a big deal.
The text was updated successfully, but these errors were encountered: