Skip to content
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

testProperty not changing #1

Open
Rhuantavan opened this issue Nov 19, 2014 · 0 comments
Open

testProperty not changing #1

Rhuantavan opened this issue Nov 19, 2014 · 0 comments

Comments

@Rhuantavan
Copy link

I have an issue where the custom object's testProperty does not change from the script.

I have modified the line:

context.globalObject.setValue(JSCustomObject(), forProperty: "customObject")

to:

var customObject = JSCustomObject()
context.globalObject.setValue(customObject, forProperty: "customObject")

in order to observe the customObject's property change, but it doesn't change. It is supposed to change, right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant