   console.warn message, element
   React.DOM.span { 'data-warning': message }, element
 
-## object Aui.defaults
+## object Aui.settings
 # The default options Aui uses when no options or props are passed in.
-Aui.defaults =
+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
-  # automatically event.preventDefault() onSubmit of <form> tags
-  preventDefaultSubmit: yes
 
 ## internal class `AuiOptions({options})`
 # defaults all Aui options



## mixin Aui.Mixin
# Aui class is the main wrapper class
# it recursively goes through all it's children,
# finding props that === true or are on the `Aui.modules` list,
# and merges them into the className of each element.
AuiMixin =
  componentWillMount: ->
    @$ = (ref) -> jQuery? React.findDOMNode @refs[ref] or ref
    render = @render
    @render = ->
      element = render?.apply? @, arguments

    modules = null
    props = {}
    if element.props.className?
      for className in "#{element.props.className}".split /\s+/g
        classNames[key] = yes
    for own key, value of element.props
      classNames[key] = yes if value is yes
