                 setTimeout ->
                     scrollPending = false
                     position()
-                , debounce
+                , DEBOUNCE
 
         if options.trigger is 'click'
             $target.bind 'click.drop', -> $target.drop 'toggleDrop'


        $([$target[0], options.$drop[0]]).each ->
            $el = $(@)
            removeClassPrefix($el, drop.baseClassNames.attachPrefix)
            $el.addClass("#{ drop.baseClassNames.attachPrefix }#{ attachFirst }-#{ attachSecond }")

    positionDrop: ->

    else
        return $('html')

removePrefixedClasses = ($el, prefix) ->
    $el.attr 'class', (index, className) ->
        className.replace(new RegExp("\\b#{ prefix }\\S+", 'g'), '').replace(/\s+/g, ' ')

$ ->
    drop.updateBodyClasses()

    $(document).on 'openDrop.drop, closeDrop.drop', (event) -> drop.updateBodyClasses()

    $(window).on 'resize', debounce(-> drop.positionAll())
    $(window).on 'scroll.drop', debounce(-> drop.positionAll())

drop =

