{"issue":{"pull_request":{"diff_url":"https://github.com/SteveSanderson/knockout/pull/190.diff","html_url":"https://github.com/SteveSanderson/knockout/pull/190","patch_url":"https://github.com/SteveSanderson/knockout/pull/190.patch"},"state":"open","user":{"avatar_url":"https://secure.gravatar.com/avatar/e01e261ed76aa771af08ad836726e13a?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"e01e261ed76aa771af08ad836726e13a","url":"https://api.github.com/users/kmalakoff","login":"kmalakoff","id":756520},"milestone":null,"labels":[],"updated_at":"2011-11-10T05:11:46Z","assignee":null,"comments":11,"closed_at":null,"url":"https://api.github.com/repos/SteveSanderson/knockout/issues/190","body":"Added forceRefresh to dependentObservable to make them recalculate their values. \r\n\r\nUsed in Knockback.js (https://github.com/kmalakoff/knockback).\r\n\r\nTake a look at this jsFiddle to see how it works: http://jsfiddle.net/kmalakoff/QSkpv/\r\n\r\nCheers,\r\n\r\nKevin\r\n\r\nPS. I haven't had time to dig into the documentation yet to get it to work with Knockout 1.3 beta.","html_url":"https://github.com/SteveSanderson/knockout/issues/190","number":190,"title":"Added forceRefresh to dependentObservable - for Knockback.js (https://github.com/kmalakoff/knockback)","id":2115088,"created_at":"2011-11-01T21:04:35Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/0aaaf96a4a7d980279f3bafebfef3204?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"0aaaf96a4a7d980279f3bafebfef3204","url":"https://api.github.com/users/AdamPflug","login":"AdamPflug","id":547377},"updated_at":"2011-11-10T05:11:45Z","url":"https://api.github.com/repos/SteveSanderson/knockout/issues/comments/2691591","body":"@kmalakoff You can do it, but it requires having an extra property in each dependentObservable simply to act as a trigger for causing updates - which isn't a very clean way to do things for clients of the knockout API. It makes it much harder for the model (in the backbone case, or just the client code in other cases) and view model to be loosely coupled.","id":2691591,"created_at":"2011-11-10T05:11:45Z"}}