code: function( tiledImage ) {
          $.console.assert(tiledImage, '[TileCache.clearTilesFor] tiledImage is required');
          var tileRecord;
          for ( var i = 0; i < this._tilesLoaded.length; ++i ) {
              tileRecord = this._tilesLoaded[ i ];
              if ( tileRecord.tiledImage === tiledImage ) {
                  this._unloadTile(tileRecord);
                  this._tilesLoaded.splice( i, 1 );
                  i--;
              }
          }
      }
docs: Clears all tiles associated with the specified tiledImage.
  @param {OpenSeadragon.TiledImage} tiledImage