Skip to content

Conversation

@alvingonzales
Copy link
Contributor

Issue #100 seems to be due to augmentContext not properly checking if the viewmodel already has a property of the same name as nameParam. augmentContext overwrites it with a new observable, so old bindings relying on the old observable are not updated.

This fix checks if the viewmodel already has the property, and uses that instead.

finnsson added a commit that referenced this pull request Oct 19, 2013
Do not overwrite nameParam on view model if it is already defined (fixes #100)
@finnsson finnsson merged commit 00e7be5 into finnsson:master Oct 19, 2013
@finnsson
Copy link
Owner

Thanks for the pull request.

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

Successfully merging this pull request may close these issues.

2 participants