melanke/Watch.JS — pull request #3 by smurn (2012-10-19 08:35:26+00:00)
Title: Fix for issues #1 and #2

Instead of using the problematic 'callee' I suggest to use a 'global' flag to detect if a watcher invocation is already running.

It works nicely with 'use strict' and it doesn't get confused if the recursion had some intermediate methods.