Applying knockout extenders after mapping
问题 I'm having a problem with adding a knockout extender to observables after they have been created. In the following example the extender is run on foo every time the value changes as expected but only once, when first called, for bar . var viewModel = function(){ var self = this; self.foo = ko.observable(1).extend({ numeric: 1 }); self.bar = ko.observable(1); self.bar.extend({ numeric: 1 }); }; Essentially I am mapping a large JSON object and would like to add extenders after the mapping has