Resolves #1270. Did simplify this a bit and remove some code. We only need to go deep diffing when both ap and bp are POJOs. All else can be treated as diff. This means that updating an object with an array property that has identical content but is another array instance, will be treated as a diff. This is ok. I don't think we earn so much by using getValueOf() to do some half-baked comparision between arrays.
Resolves #1270.
Did simplify this a bit and remove some code.
We only need to go deep diffing when both ap and bp are POJOs. All else can be treated as diff.
This means that updating an object with an array property that has identical content but is another array instance, will be treated as a diff. This is ok. I don't think we earn so much by using getValueOf() to do some half-baked comparision between arrays.

jimmywarting/Dexie.js,jimmywarting/Dexie.js,dfahlander/Dexie.js,dfahlander/Dexie.js,jimmywarting/Dexie.js,dfahlander/Dexie.js,dfahlander/Dexie.js,jimmywarting/Dexie.js