Skip to content

Fixed a race condition problem#20

Open
sateffen wants to merge 1 commit into
michaelpapworth:masterfrom
sateffen:master
Open

Fixed a race condition problem#20
sateffen wants to merge 1 commit into
michaelpapworth:masterfrom
sateffen:master

Conversation

@sateffen

@sateffen sateffen commented Aug 7, 2015

Copy link
Copy Markdown

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
Copy Markdown

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