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

Use hasOwnProperty to check for bucket existence

Open lawnsea opened this issue 10 years ago • 1 comments

If a mapped observable has a value that is a property of Object.prototype, findBucket returns that property's value instead of a simpleObjectLookup instance.

Fix #124

lawnsea avatar Sep 04 '13 14:09 lawnsea

Nice catch. Merged into brigand/knockout.mapping

It'll likely get merged here when knockout/1099 is closed.

brigand avatar Sep 16 '13 22:09 brigand