melanke / Watch.JS

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

Added checking for dirtyChecklist.length, and and change for loop for Ar... #84

Closed gunins closed 9 years ago

gunins commented 9 years ago

Added checking for dirtyChecklist.length, and and change for loop for Array. Problem was, if you add Array.prototype.someFunction=function(){} watchjs will fail.

This related to https://github.com/melanke/Watch.JS/issues/83

IPWright83 commented 9 years ago

@melanke Any chance that this can be pulled? I just included Watch.JS for the first time and was about to give as it fails to load till I spotted this fix which gets it all going.

melanke commented 9 years ago

Thank you gunins