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

Not able to update despite it's observation being updated #194

Closed
justinbmeyer opened this issue Nov 2, 2018 · 0 comments
Closed

Not able to update despite it's observation being updated #194

justinbmeyer opened this issue Nov 2, 2018 · 0 comments

Comments

@justinbmeyer
Copy link
Contributor

justinbmeyer commented Nov 2, 2018

somehow with a two-way binding ... it's possible to have bind update the parent, but try to read it after and not see the updated value.

Looking into this.

var context = new SimpleMap({
	"prop" :"value"
});

var prop = new Scope(context).computeData("this.prop",{proxyMethods: false});

canReflect.onValue(prop, function(){});

context.on("prop", function(){

	QUnit.equal(canReflect.getValue(prop), "VALUE", "able to read fastPath value");
},"notify");

context.set("prop", "VALUE");
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