melanke / Watch.JS

watch the changes of any object or attribute
Other
2.14k stars 219 forks source link

Error when defining Object.prototype #61

Closed mahdaen closed 9 years ago

mahdaen commented 10 years ago

Uncaught TypeError: Cannot read property 'undefined' of undefined

That error happen when I try to define new Object.prototype. Please check the function 'loop' when creating 'difference'. Maybe the function 'getObjDiff' returning 'undefined'. Thanks.