 
   need_more_post_data: ->
 
-    ### We'll receive this message often once we're close to needing more posts.  Only
+    # We'll receive this message often once we're close to needing more posts.  Only
     # start loading more data the first time.
-    ###
-
     if @loaded_extended_results
       return
     @load extending: true
     return
 
-  ###
   # This is a response time optimization.  If we know the sample URL of what we want to display,
   # we can start loading it from the server without waiting for the full post.json response
   # to come back and tell us.  This saves us the time of a round-trip before we start loading the

      return
    sample_url = cached_sample_urls[String(post_id)]

    ### If we have an existing preload_container, just add to it and allow any other
    # preloads to continue.
    ###

    debug 'Advance preloading sample image for post ' + post_id
    @sample_preload_container = new PreloadContainer
    @sample_preload_container.preload sample_url

    document.fire 'viewer:displayed-pool-changed', pool: result.pool
    document.fire 'viewer:searched-tags-changed', tags: result.tags

    # Tell the thumbnail viewer whether it should allow scrolling over the left side.
    can_be_extended_further = true

    # If we're reading from a pool, we requested a large block already.
    if result.pool
      can_be_extended_further = false

    # If we're already extending, don't extend further.
    if result.load_options.extending
      can_be_extended_further = false

    # If we received fewer results than we requested we're at the end of the results,
    # so don't waste time requesting more.
    if new_post_ids.length < result.post_limit
      debug 'Received posts fewer than requested (' + new_post_ids.length + ' < ' + result.post_limit + '), clamping'
      can_be_extended_further = false

    # Now that we have the result, update the URL hash.  Firing loaded-posts may change
    # the displayed post, causing the post ID in the URL hash to change, so use set_deferred
    # to help ensure these happen atomically.
    UrlHash.set_deferred tags: result.tags
    document.fire 'viewer:loaded-posts',
      tags: result.tags
