alphagov/govuk_frontend_toolkit — pull request #129 by tombye (2014-08-26 10:17:38+00:00)
Title: Allow preselected selection button

The code for selection buttons was missing a test case for a radio button being selected when the page loads.

This was failing because of the execution order of some code in the `RadioButtons.prototype.getSelections` method meant `RadioButtons.prototype.markSelected` was being called before an instance property it used was set.