knockout.viewmodel
knockout.viewmodel copied to clipboard
Add test for custom unmapping via ko.viewmodel.toModel
I've added a test for the scenario where you piggyback on ko.viewmodel.fromModel in a custom mapping function and ko.viewmodel.toModel in a custom unmapping function. This scenario currently leads to infinite recursion in the unmapping function. See the issue I opened previously regarding this problem.
responded on #40, thanks.