-
Notifications
You must be signed in to change notification settings - Fork 1.7k
APIs for getting and setting variable values #1203
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
Conversation
src/virtual-machine.js
Outdated
} | ||
|
||
/** | ||
* Set a target variables value if it exists. Return whether it succeeded. |
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
src/virtual-machine.js
Outdated
} | ||
|
||
/** | ||
* Set a target variables value if it exists. Return whether it succeeded. |
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LG minus nit pick comments about comments.
Adds a few top-level APIs for getting/setting variable values.
The match the "prototype" that was made in the GUI, which can now be migrated to use these methods.
Additionally, these tests uncovered a bug, which was fixed :)
Fixes #1145