     $(this).addClass('entry_open').css 'height', 'auto'
 
   #--------------------------------------------
-  # PRIVATE FUNCTION - Add a CSS class that sets entry height to 'auto'.
-  # This way if images in the entry are lazy-loaded after the open animation is finished,
-  # the entry height will adjust instantaneously.
+  # PRIVATE FUNCTION - Remove the CSS class that identifies entry as open.
   #--------------------------------------------
   remove_entry_open_class = ->
     $(this).removeClass 'entry_open'

($rootScope)->

  #--------------------------------------------
  # PRIVATE FUNCTION - Add a CSS class that sets 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,

  # 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 was created to close the menu if user clicks outside it.
  # It should be a namespaced "click" event, like "click.mynamespace"
  #--------------------------------------------
  close_menu = (menu_wrapper, menu_link, event_namespace)->
