 Aui.Module = React.createClass
   render: -> React.Children.only @props.children
   componentDidMount: ->
-    if @props.options.preventDefaultSubmit and 'form' of @props.modules
-      jQuery(React.findDOMNode @).on 'submit', (event) -> event?.preventDefault?()
     @callModules @props.children.props
   componentWillReceiveProps: (props) ->
     @callModules props.children.props

    unless @ instanceof AuiOptions
      return new AuiOptions options
    options or= {}
    for own key, value of Aui.defaults
      @[key] = if options[key]? then options[key] else value

## element `Aui.classify(element, {options})`

  console.warn message, element
  React.DOM.span { 'data-warning': message }, element

## object Aui.settings
# The default options Aui uses when no options or props are passed in.
Aui.settings =
  # disables jQuery based Aui.modules from calling
  disableModules: not jQuery?
  # disables Semantic-UI specific features
  disableSemantic: not jQuery?.site?.settings?.modules?
  # do not recursively Aui.classify children by default.
  ignoreChildren: no

## internal class `AuiOptions({options})`
# defaults all Aui options
