Added checking for dirtyChecklist.length, and and change for loop for Array. Problem was, if you add Array.prototype.someFunction=function(){} watchjs will fail.
@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.
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