 ($rootScope)->
 
   #--------------------------------------------
-  # PRIVATE FUNCTION - Add a CSS class that sets identifies entry as open, for testing.
+  # PRIVATE FUNCTION - Add a CSS class that identifies entry as open, for testing.
   # Also set explictly height to 'auto' (setting the CSS class alone does not override the explicitly set
   # height otherwise).
   # This way if images in the entry are lazy-loaded after the open animation is finished,

  #--------------------------------------------
  # PRIVATE FUNCTION - Open a dropdown menu.
  # Receives as arguments:
  # - jquery object of the menu wrapper (normally a li with class .dropdown)
  # - jquery object of the link that toggles the menu
  # - namespace to apply to the event handler that will be created to close the menu if user clicks outside it.
  # It should be a namespaced "click" event, like "click.mynamespace"

        open_menu menu_wrapper, menu_link, event_namespace

    #---------------------------------------------
    # Animate toggling (open/close) the user menu
    #---------------------------------------------
    toggle_user_menu: ->
      menu_wrapper = $('#user-dropdown')
