moneyadviceservice/dough — pull request #129 by jonnywyatt (2014-08-01 15:58:18+00:00)
Title: Components each have separate initialised flags on the component container

This fixes a bug. Multiple components could be initialised on the same DOM element, but when each one successfully initialised, it stamped the same data-dough-initialised attribute on the container, so one component could overwrite another's.
Now each component stamps its own data-dough--initialised attribute.