mbest / knockout-deferred-updates

Deferred Updates plugin for Knockout <=3.3.0
http://mbest.github.io/knockout-deferred-updates/
134 stars 23 forks source link

Computed properties does not properly notify it's subscribers if throttled #8

Closed mpj closed 11 years ago

mpj commented 11 years ago

If one throttles a computed property, it forgets to notify it's subscribers properly. Here is a case reproducing the error reliably: http://jsfiddle.net/mattiasjle/mBxSD/32/

knockout-deferred-updates is included as a resource to the fiddle, remove it to see that the case works in plain knockout 2.2.1.

mbest commented 11 years ago

Thanks for reporting this. I've added a spec to test this condition and updated the code to fix it.

mpj commented 11 years ago

Spectacular hat! Thank you very, very much!