walmartlabs/thorax — comment on commit f55b1c84f59ebb75e4517e25472e7eb664be2f39
File: thorax.js line 640
By kpdecker:

These both do very similar things. Can this be reduced to one code block? Something like `if (element.type === 'checkbox' || element.checked) {` etc? Should save a bit of wire size.