     defaults:
       menuClass: 'effective-menu'
       expandThreshold: 250  # Seconds before a leaf li item will be auto-expanded into a dropdown
+      maxDepth: 2
 
     menu: null
     draggable: null

          item.parentsUntil(@menu, 'li').andSelf().addClass('open')
        else
          event.preventDefault() # Enable drag and drop
          @expandToDropdown(item) if @droppable.time? && ((new Date().getTime()) - @droppable.time) > @options.expandThreshold

        # If I don't have the placeholder class already
        if item.hasClass('placeholder') == false


      item.parentsUntil(@menu, 'li.dropdown').addClass('open')

    # Very top level items are assigned Depth of 0
    # The first dropdowns all have Depth of 1
    depthOf: (item) -> item.parentsUntil(@menu, 'li').length

    # Just pass _destroyed = 1 back to rails to delete this item
    # Rails seems to disregard new items set to the new Date.now() values anyhow
