diff --git a/src/tile.js b/src/tile.js index 33e0cee4..07e89b2b 100644 --- a/src/tile.js +++ b/src/tile.js @@ -44,7 +44,7 @@ * coordinates. * @param {Boolean} exists Is this tile a part of a sparse image? ( Also has * this tile failed to load? ) - * @param {String|() => String} url The URL of this tile's image or a function that returns a url. + * @param {String|Function} url The URL of this tile's image or a function that returns a url. * @param {CanvasRenderingContext2D} context2D The context2D of this tile if it * is provided directly by the tile source. * @param {Boolean} loadWithAjax Whether this tile image should be loaded with an AJAX request . @@ -98,7 +98,7 @@ $.Tile = function(level, x, y, bounds, exists, url, context2D, loadWithAjax, aja * Private property to hold string url or url retriever function. * Consumers should access via Tile.getUrl() * @private - * @member {String|() => String} url + * @member {String|Function} url * @memberof OpenSeadragon.Tile# */ this._url = url; diff --git a/src/tiledimage.js b/src/tiledimage.js index cbcdfc92..928e135d 100644 --- a/src/tiledimage.js +++ b/src/tiledimage.js @@ -1690,7 +1690,7 @@ $.extend($.TiledImage.prototype, $.EventSource.prototype, /** @lends OpenSeadrag * @event tile-loaded * @memberof OpenSeadragon.Viewer * @type {object} - * @property {Image || *} image - The image (data) of the tile. Deprecated. + * @property {Image|*} image - The image (data) of the tile. Deprecated. * @property {*} data image data, the data sent to ImageJob.prototype.finish(), by default an Image object * @property {OpenSeadragon.TiledImage} tiledImage - The tiled image of the loaded tile. * @property {OpenSeadragon.Tile} tile - The tile which has been loaded. diff --git a/src/tilesource.js b/src/tilesource.js index 7875d23a..bdebebcc 100644 --- a/src/tilesource.js +++ b/src/tilesource.js @@ -618,7 +618,7 @@ $.TileSource.prototype = { * @param {Number} level * @param {Number} x * @param {Number} y - * @returns {String|() => string} url - A string for the url or a function that returns a url string. + * @returns {String|Function} url - A string for the url or a function that returns a url string. * @throws {Error} */ getTileUrl: function( level, x, y ) {