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 = function( args ) { 13 TiledImageStore.Fixed.call( this, args ); 14 }; 15 TiledImageStore.Fixed_v0.prototype = new TiledImageStore.Fixed(''); 16 17 TiledImageStore.Fixed_v0.prototype._imageSource = function( zoom, tileIndex ) { 18 return Util.resolveUrl( this.url, '../../' + zoom.urlPrefix + tileIndex + ".png" ); 19 }; 20