wet-boew/wet-boew — pull request #3442 by patheard (2013-11-05 16:12:47+00:00)
Title: Toggle: fixes #3431 toggle on/off behaviour

Bug was in the `getState` method - its `state` parameter was hiding the global `state` object.