function EpisodeOverlay(episode) {
  this.episode_ = episode;
  this.iterator_ = null;
  this.$overlay_ = null;
  this.$innerlay_ = null;

  var epOverlay = this;
  this.moreCallback_ = function() {
    if (!('queriedAll_' in epOverlay.episode_)) {
      epOverlay.queryAdditional_();
    }
  };

  this.show();
}
/**
 * Expanded view of all photos in an episode, overlaid on existing
 * content. When the overlay is first viewed, most likely the
 * episode will only contain the initial set of preview images. If
 * the count of photos in the episode exceeds the number loaded and
 * the number loaded is less than viewfinder.overlay.QUERY_LIMIT, a
 * query is launched to get additional photos for display.
 *
 * $morePhotos_ is an array of additional blocks of photo content which
 * are loaded on demand.
 *
 * @param {object} episode.
 */
Expanded view of all photos in an episode, overlaid on existing
content. When the overlay is first viewed, most likely the
episode will only contain the initial set of preview images. If
the count of photos in the episode exceeds the number loaded and
the number loaded is less than viewfinder.overlay.QUERY_LIMIT, a
query is launched to get additional photos for display.

$morePhotos_ is an array of additional blocks of photo content which
are loaded on demand.

@param {object} episode.
Expanded view of all photos in an episode overlaid on existing content . When the overlay is first viewed most likely the episode will only contain the initial set of preview images . If the count of photos in the episode exceeds the number loaded and the number loaded is less than viewfinder . overlay . QUERY_LIMIT a query is launched to get additional photos for display . $morePhotos_ is an array of additional blocks of photo content which are loaded on demand . @param { object } episode .
function EpisodeOverlay(episode) {
  this.episode_ = episode;
  this.iterator_ = null;
  this.$overlay_ = null;
  this.$innerlay_ = null;
  var epOverlay = this;
  this.moreCallback_ = function() {
    if (!('queriedAll_' in epOverlay.episode_)) {
      epOverlay.queryAdditional_();
    }
  };
  this.show();
}
function EpisodeOverlay ( episode ) { this . episode_ = episode ; this . iterator_ = null ; this . $overlay_ = null ; this . $innerlay_ = null ; var epOverlay = this ; this . moreCallback_ = function ( ) { if ( ! ( 'queriedAll_' in epOverlay . episode_ ) ) { epOverlay . queryAdditional_ ( ) ; } } ; this . show ( ) ; }
Expanded view of all photos in an episode, overlaid on existing
 content.
Expanded view of all photos in an episode overlaid on existing content .