guardian/frontend — pull request #3005 by chrisfinch (2014-02-04 15:07:18+00:00)
Title: Fix email signups ab error

I inadvertently introduced a JS error that occurs when the AB framework loads the module on a non-article page. This extra logic check prevents that and halts the module from loading if the component is not found on the page.

The logic checks that the `config.page.contentType` is `'Article'` and that the module exists on the page.