   
   u = up.util
   
-  defaultOptions =
+  config =
     duration: 300
     delay: 0
     easing: 'ease'

  ###
  animate = (elementOrSelector, animation, options) ->
    $element = $(elementOrSelector)
    options = u.options(options, defaultOptions)
    if u.isFunction(animation)
      assertIsPromise(
        animation($element, options),

  animate: animate
  transition: transition
  animation: animation
  defaults: defaults
  none: none

)()
