 
         ###
         Ensure the classname is applied, then set the parent and children if any
-        are passed in. Does the normal backbone constructor and then does the 
+        are passed in. Does the normal backbone constructor and then does the
         first state change.
         ###
         constructor: (options) ->
             @children = []
-            
+
             if options.el then @ensureClass(options.el, options.className)
             if options.parent then @setParent(options.parent)
             if options.children?.length then @addChildren()

            unless state is null
                if @[state + '_events']
                    events = _.extend(events, @[state + '_events'])
            
            return events
)
            @changeState(@initialState)

        ###
        Used to ensure that the className property of the view is applied to an
        el passed in as an option.
        ###
        ensureClass: (el, className=@className) ->
