aeisenberg / angular-bind-notifier

On demand refreshing of AngularJS bindings. Vast performance improvements on complex apps.
http://aeisenberg.github.io/angular-bind-notifier/
MIT License
111 stars 13 forks source link

fix(dynamicWatcher): watchDelegate.length check #15

Closed kasperlewau closed 9 years ago

kasperlewau commented 9 years ago

Checking the name of the watchDelegate does not play well with a minified source. Checking the length of the given watchDelegate (the amount of parameters), we can rule out cases where we are not dealing with a oneTimeWatchDelegate.

A better solution to this problem has to be be out there, somewhere.

yuck


Closes #14