Implement new usage and not modifying Object.prototype
melanke opened this issue · comments
Gil Lopes Bueno commented
new usage:
watch(obj, function(prop, newval, oldval){
});
watch(obj, "prop", function(prop, newval, oldval){
});
watch(obj, ["prop1", "prop2"], function(prop, newval, oldval){
});
Alex Young commented
This is a good idea
Heitor Salazar Baldelli commented
+1
Heitor Salazar Baldelli commented
David Crockford sleeps happier now.
Thank you for the awesome job =D
Lucca Mordente commented
Awesome!
Gil Lopes Bueno commented
Lucca, WatchJS é brasileiro :D
Lucca Mordente commented
Hehe, vi isso num pull request!
@Pickachu também é brasileiro :P
Curtimos demais essa lib, parabéns!
Gil Lopes Bueno commented
Thanks
//lets get back to english haha