melanke / Watch.JS

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

how can i detect an object remove attribute? #115

Closed realzbc closed 7 years ago

realzbc commented 7 years ago

I use Watch.js detact the change of an object, but if I remove an attr, it failed!

pfan123 commented 7 years ago

I also encountered the same problem,but use useDirtyCheck

    var WatchJS = {
        noMore: false,        // use WatchJS.suspend(obj) 
        useDirtyCheck: true // use only dirty checking to track changes
    }
realzbc commented 7 years ago

npm package is not latest!