Fix typo. Remove tileSource prototype extension - adds implementation for methods that throw exceptions.

This commit is contained in:
Aiosa 2024-11-30 10:03:39 +01:00
parent 271f437568
commit d6bb8d3bd1
2 changed files with 1 additions and 2 deletions

View File

@ -771,7 +771,7 @@ $.Tile.prototype = {
* @param {OpenSeadragon.Tile} tile
*/
equals(tile) {
return this._ocKey === this._ocKey;
return this._ocKey === tile._ocKey;
},
/**

View File

@ -2733,7 +2733,6 @@ function getTileSourceImplementation( viewer, tileSource, imgOptions, successCal
}
} else {
//can assume it's already a tile source implementation, force inheritance
tileSource = $.extend({}, $.TileSource.prototype, tileSource);
waitUntilReady(tileSource, tileSource);
}
});