recurly/recurly-js — pull request #137 by chrissrogers (2014-07-24 02:44:12+00:00)
Title: Corrects addon promise chain order

The correct thing to do here is to iterate over addons and call their pricing methods in order. We had been simply attaching the iterator method onto the promise chain, allowing a race condition to issue reprices before all addons were attached to the pricing module.

/cc @gjohnson