1 /** 2 * @namespace 3 */ 4 var TiledImageStore; if( !TiledImageStore ) TiledImageStore = {}; 5 6 /** 7 * Subclass of TiledImageStore.Fixed to provide backward-compatibility 8 * with image stores formatted with JBrowse 1.2.1. 9 * @class 10 * @extends TiledImageStore.Fixed 11 */ 12 TiledImageStore.Fixed_v0 = TiledImageStore.Fixed; 13 TiledImageStore.Fixed_v0.prototype = new TiledImageStore.Fixed(''); 14 15 TiledImageStore.Fixed_v0.prototype._imageSource = function( zoom, tileIndex ) { 16 return Util.resolveUrl( this.url, '../../' + zoom.urlPrefix + tileIndex + ".png" ); 17 }; 18