mikeric/rivets — pull request #17 by rfunduk (2012-07-08 22:02:00+00:00)
Title: `setAttribute` doesn't correctly change checked state.

If the user changes the checked state of a checkbox input, `setAttribute` will stop updating the UI. It appears that internally the state is set but the interface doesn't match.

Fix is to use a more thorough approach for the checked case, somewhat like `getInputValue` already does.

[Here's a fiddle](http://jsfiddle.net/rfunduk/8FuxB/4/) I was using to experiment with rivets when I discovered this problem. It affects at least Chrome 20 and Firefox 13.0.

Run the fiddle, check some of the boxes first, then click 'toggle all'. Now uncheck some different boxes, and toggle a few more times to fully demonstrate the problem.

Finally, [here's another fiddle](http://jsfiddle.net/rfunduk/8FuxB/5/) using my forked version to demonstrate the fix.