knockout.wrap icon indicating copy to clipboard operation
knockout.wrap copied to clipboard

Added options argument for allowing ignoring properties like __ko_mapping__ and including computed values

Open adamtal3 opened this issue 9 years ago • 2 comments

Let the user choose which properties to include and which to ignore.

I had a performance issue with ko.mapping.toJS and replaced it with ko.wrap.toJS which lacked my most basic needs from the conversion. I updated it as little as possible to keep it fast but also allow the user to control the conversion.

Plus, I added a package.json, bower.json and updated nupkg files after bumping the version to 1.0.2.

adamtal3 avatar Feb 16 '16 11:02 adamtal3

Looks good, could you add some tests?

arj03 avatar Feb 16 '16 12:02 arj03

Works great on my code!

sGambolati avatar Apr 29 '16 14:04 sGambolati