More specifically, what I would really like to know: is there a way to write this algorithm that respects O(n log n) run time when running inside the tests (using my mocked timeout that immediately resolves the callback), but then has all methods wrapped in timeouts so that the algorithm can be displayed in the browser for human consumption. Could it be rewritten with promises? Could you iterate over the functions on the scope and alias them to delay execution and perhaps even display the top of the call stack? Could you inject something before or after each digest?
On Friday, 4 April 2014 00:24:10 UTC-7, xrd wrote: > > I wrote up my thoughts on using AngularJS to build an animated Sieve of > Eratosthenes. If anyone has comments, I'd love to hear them. > > > http://webiphany.com/2014/04/03/sieve-of-eratosthenes-in-angularjs-with-css3-explosions.html > > Chris > -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
