       return
     sample_url = cached_sample_urls[String(post_id)]
 
-    ### If we have an existing preload_container, just add to it and allow any other
+    # 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

      load_options: result.load_options
    return

  ### If extending is true, load a larger set of posts. ###

  load: (load_options) ->
    if !load_options
      load_options = {}

    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
