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

Fixed a race condition problem #20

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sateffen
Copy link

@sateffen sateffen commented Aug 7, 2015

Fixed a problem where Code looking like

var vm = {
    text = ko.observable('');
}
ko.applyBindings(vm, element);
vm.text('hello world');

Would result in resetting the observable in vm.text, so the text 'hello world' never gets shown.

@luisfernandobarrera
Copy link

I had the same problem and I fixed it with the proposed patch +1

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