sebpiq/backbone.statemachine — pull request #22 by donaldr (2013-02-18 22:59:26+00:00)
Title: Error when using StatefulView on a window element. 

Let's make sure that the element we're attempting to change the class name of actually has the className attribute. The window element, for example, does not.