melanke / Watch.JS

watch the changes of any object or attribute

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

disabled in new Chrome 36

opened this issue · comments

demo:
var a={b:{}};
watch(a,'b',function(a,b,c){alert(c)})
a.b={c:1}
it's disabled

The reason is "Object.observe" which is existing in chrome 36

Object.observe was removed from WatchJS