Closed lisandropuzzolo closed 12 years ago
Thanks for letting me know. This will be fixed in the next release.
It looks like hasWriteFunction
is considered part of the private API since it's mangled/obfuscated in the minified build. Replacing DO.hasWriteFunction
with ko.isWriteableObservable(DO)
should work in both the debug and minified builds.
Good catch, I'll fix that.
On function withProxyDependentObservable, the wrap function makes all computed writable.
Solution:
function withProxyDependentObservable(dependentObservables, callback) { var localDO = ko.dependentObservable; ko.dependentObservable = function (read, owner, options) { options = options || {};