{"push_id":988200839,"size":2,"distinct_size":2,"ref":"refs/heads/govspeak-attachments","head":"3a1e2f6ce927ebff647347925934bcc5783a809b","before":"e9863162ac0aafb29770afe06f9f9230e341e1b6","commits":[{"sha":"cf1cf8c7a9b83b842ca754dbd30a9024e5f737cd","author":{"email":"a60a20ed872330fa60413bd5d4ca7fac0d528ee0@digital.cabinet-office.gov.uk","name":"David Singleton"},"message":"Don't require class selector for JS toggle module\n\nWe can detect the control/toggle element from the module data-*\nattributes, and don't need to rely on a specific class as well.\n\nThis feels more in keeping with the data-module approach we're taking\nwhere the 'interface' to the module is encoded in data-attributes\nand their values, and doesn't rely on anything else in the element\npassed into the module, eg classes.\n\nThis allows the class of the element to be specific to use case in\nthe app invoking the module.\n\nI've removed the class part of the selector, and updated the tests\nso the examples use an example selector that is less likely to be\nconfused for module configuration.","distinct":true,"url":"https://api.github.com/repos/alphagov/static/commits/cf1cf8c7a9b83b842ca754dbd30a9024e5f737cd"},{"sha":"3a1e2f6ce927ebff647347925934bcc5783a809b","author":{"email":"a60a20ed872330fa60413bd5d4ca7fac0d528ee0@digital.cabinet-office.gov.uk","name":"David Singleton"},"message":"update toggler markup/css to work with module","distinct":true,"url":"https://api.github.com/repos/alphagov/static/commits/3a1e2f6ce927ebff647347925934bcc5783a809b"}]}