openbrainsrc / Radian

Plotting with AngularJS
http://openbrainsrc.github.io/Radian/index.html
168 stars 19 forks source link

Error in example: Loop of changes over a property or update during render? #24

Closed cleverscale closed 11 years ago

cleverscale commented 11 years ago

Several examples in the git repository generate the following error: Uncaught Error: 10 $digest() iterations reached. Aborting! Watchers fired in the last 5 iterations

This error occurs when you create a loop of changes over a property (For example, like when you watch for changes on a certain property and then change the value of that property on the listener) or if you change objects/models during the render (this force a new render).

http://stackoverflow.com/questions/14376879/error-10-digest-iterations-reached-aborting-with-dynamic-sortby-predicate

ian-ross commented 11 years ago

Thanks for the report. I believe this was due to a problem in the handling of date data I'd introduced. Fixed now.