mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-24 22:26:10 +03:00
Changelog for #2072 and minor comment style change
This commit is contained in:
parent
b1ec71e91c
commit
51e3ea7fa0
@ -9,6 +9,7 @@ OPENSEADRAGON CHANGELOG
|
|||||||
* Fixed an issue where turning off panVertical or panHorizontal would not affect the panning keyboard combos (#2069 @JachiOnuoha)
|
* Fixed an issue where turning off panVertical or panHorizontal would not affect the panning keyboard combos (#2069 @JachiOnuoha)
|
||||||
* Cleaned up console.logs so that errors and warnings use console.error and console.warn as appropriate (#2073 @Abhishek-90)
|
* Cleaned up console.logs so that errors and warnings use console.error and console.warn as appropriate (#2073 @Abhishek-90)
|
||||||
* Improved documentation (#2067 @JachiOnuoha)
|
* Improved documentation (#2067 @JachiOnuoha)
|
||||||
|
* Added option to include POST data when loading files via Ajax (#2072 @Aiosa)
|
||||||
|
|
||||||
3.0.0:
|
3.0.0:
|
||||||
|
|
||||||
|
@ -124,7 +124,7 @@ $.extend( $.DziTileSource.prototype, $.TileSource.prototype, /** @lends OpenSead
|
|||||||
* @function
|
* @function
|
||||||
* @param {Object|XMLDocument} data - the raw configuration
|
* @param {Object|XMLDocument} data - the raw configuration
|
||||||
* @param {String} url - the url the data was retrieved from if any.
|
* @param {String} url - the url the data was retrieved from if any.
|
||||||
* @param {String} postData - HTTP POST data in k=v&k2=v2... form; or null;
|
* @param {String} postData - HTTP POST data in k=v&k2=v2... form or null
|
||||||
* @return {Object} options - A dictionary of keyword arguments sufficient
|
* @return {Object} options - A dictionary of keyword arguments sufficient
|
||||||
* to configure this tile sources constructor.
|
* to configure this tile sources constructor.
|
||||||
*/
|
*/
|
||||||
|
@ -184,7 +184,7 @@ $.extend( $.IIIFTileSource.prototype, $.TileSource.prototype, /** @lends OpenSea
|
|||||||
* @function
|
* @function
|
||||||
* @param {Object} data - the raw configuration
|
* @param {Object} data - the raw configuration
|
||||||
* @param {String} url - the url configuration was retrieved from
|
* @param {String} url - the url configuration was retrieved from
|
||||||
* @param {String} postData - HTTP POST data in k=v&k2=v2... form; or null;
|
* @param {String} postData - HTTP POST data in k=v&k2=v2... form or null
|
||||||
* @example <caption>IIIF 1.1 Info Looks like this</caption>
|
* @example <caption>IIIF 1.1 Info Looks like this</caption>
|
||||||
* {
|
* {
|
||||||
* "@context" : "http://library.stanford.edu/iiif/image-api/1.1/context.json",
|
* "@context" : "http://library.stanford.edu/iiif/image-api/1.1/context.json",
|
||||||
|
@ -43,7 +43,7 @@
|
|||||||
* @param {String} [options.loadWithAjax] - Whether to load this image with AJAX.
|
* @param {String} [options.loadWithAjax] - Whether to load this image with AJAX.
|
||||||
* @param {String} [options.ajaxHeaders] - Headers to add to the image request if using AJAX.
|
* @param {String} [options.ajaxHeaders] - Headers to add to the image request if using AJAX.
|
||||||
* @param {String} [options.crossOriginPolicy] - CORS policy to use for downloads
|
* @param {String} [options.crossOriginPolicy] - CORS policy to use for downloads
|
||||||
* @param {String} [options.postData] - HTTP POST data in k=v&k2=v2... form; or null
|
* @param {String} [options.postData] - HTTP POST data in k=v&k2=v2... form or null
|
||||||
* @param {Function} [options.callback] - Called once image has been downloaded.
|
* @param {Function} [options.callback] - Called once image has been downloaded.
|
||||||
* @param {Function} [options.abort] - Called when this image job is aborted.
|
* @param {Function} [options.abort] - Called when this image job is aborted.
|
||||||
* @param {Number} [options.timeout] - The max number of milliseconds that this image job may take to complete.
|
* @param {Number} [options.timeout] - The max number of milliseconds that this image job may take to complete.
|
||||||
|
@ -89,7 +89,7 @@
|
|||||||
* @function
|
* @function
|
||||||
* @param {Object} options - the options
|
* @param {Object} options - the options
|
||||||
* @param {String} dataUrl - the url the image was retrieved from, if any.
|
* @param {String} dataUrl - the url the image was retrieved from, if any.
|
||||||
* @param {String} postData - HTTP POST data in k=v&k2=v2... form; or null
|
* @param {String} postData - HTTP POST data in k=v&k2=v2... form or null
|
||||||
* @return {Object} options - A dictionary of keyword arguments sufficient
|
* @return {Object} options - A dictionary of keyword arguments sufficient
|
||||||
* to configure this tile sources constructor.
|
* to configure this tile sources constructor.
|
||||||
*/
|
*/
|
||||||
|
@ -122,7 +122,7 @@ $.extend( $.LegacyTileSource.prototype, $.TileSource.prototype, /** @lends OpenS
|
|||||||
* @function
|
* @function
|
||||||
* @param {Object|XMLDocument} configuration - the raw configuration
|
* @param {Object|XMLDocument} configuration - the raw configuration
|
||||||
* @param {String} dataUrl - the url the data was retrieved from if any.
|
* @param {String} dataUrl - the url the data was retrieved from if any.
|
||||||
* @param {String} postData - HTTP POST data in k=v&k2=v2... form; or null
|
* @param {String} postData - HTTP POST data in k=v&k2=v2... form or null
|
||||||
* @return {Object} options - A dictionary of keyword arguments sufficient
|
* @return {Object} options - A dictionary of keyword arguments sufficient
|
||||||
* to configure this tile sources constructor.
|
* to configure this tile sources constructor.
|
||||||
*/
|
*/
|
||||||
|
@ -122,7 +122,7 @@ $.extend( $.OsmTileSource.prototype, $.TileSource.prototype, /** @lends OpenSead
|
|||||||
* @function
|
* @function
|
||||||
* @param {Object} data - the raw configuration
|
* @param {Object} data - the raw configuration
|
||||||
* @param {String} url - the url the data was retrieved from if any.
|
* @param {String} url - the url the data was retrieved from if any.
|
||||||
* @param {String} postData - HTTP POST data in k=v&k2=v2... form; or null
|
* @param {String} postData - HTTP POST data in k=v&k2=v2... form or null
|
||||||
* @return {Object} options - A dictionary of keyword arguments sufficient
|
* @return {Object} options - A dictionary of keyword arguments sufficient
|
||||||
* to configure this tile sources constructor.
|
* to configure this tile sources constructor.
|
||||||
*/
|
*/
|
||||||
|
@ -50,7 +50,7 @@
|
|||||||
* @param {Boolean} loadWithAjax Whether this tile image should be loaded with an AJAX request .
|
* @param {Boolean} loadWithAjax Whether this tile image should be loaded with an AJAX request .
|
||||||
* @param {Object} ajaxHeaders The headers to send with this tile's AJAX request (if applicable).
|
* @param {Object} ajaxHeaders The headers to send with this tile's AJAX request (if applicable).
|
||||||
* @param {OpenSeadragon.Rect} sourceBounds The portion of the tile to use as the source of the
|
* @param {OpenSeadragon.Rect} sourceBounds The portion of the tile to use as the source of the
|
||||||
* @param {String} postData HTTP POST data in k=v&k2=v2... form; or null
|
* @param {String} postData HTTP POST data in k=v&k2=v2... form or null
|
||||||
* drawing operation, in pixels. Note that this only works when drawing with canvas; when drawing
|
* drawing operation, in pixels. Note that this only works when drawing with canvas; when drawing
|
||||||
* with HTML the entire tile is always used.
|
* with HTML the entire tile is always used.
|
||||||
*/
|
*/
|
||||||
@ -101,7 +101,7 @@ $.Tile = function(level, x, y, bounds, exists, url, context2D, loadWithAjax, aja
|
|||||||
/**
|
/**
|
||||||
* Post parameters for this tile. Either it is an URL-encoded string
|
* Post parameters for this tile. Either it is an URL-encoded string
|
||||||
* in k1=v1&k2=v2... format or null
|
* in k1=v1&k2=v2... format or null
|
||||||
* @member {String} postData HTTP POST data in k=v&k2=v2... form; or null
|
* @member {String} postData HTTP POST data in k=v&k2=v2... form or null
|
||||||
* @memberof OpenSeadragon.Tile#
|
* @memberof OpenSeadragon.Tile#
|
||||||
*/
|
*/
|
||||||
this.postData = postData;
|
this.postData = postData;
|
||||||
|
@ -550,7 +550,7 @@ $.TileSource.prototype = {
|
|||||||
* @property {OpenSeadragon.TileSource} eventSource - A reference to the TileSource which raised the event.
|
* @property {OpenSeadragon.TileSource} eventSource - A reference to the TileSource which raised the event.
|
||||||
* @property {String} message
|
* @property {String} message
|
||||||
* @property {String} source
|
* @property {String} source
|
||||||
* @property {String} postData - HTTP POST data in k=v&k2=v2... form; or null
|
* @property {String} postData - HTTP POST data in k=v&k2=v2... form or null
|
||||||
* @property {?Object} userData - Arbitrary subscriber-defined object.
|
* @property {?Object} userData - Arbitrary subscriber-defined object.
|
||||||
*/
|
*/
|
||||||
_this.raiseEvent( 'open-failed', {
|
_this.raiseEvent( 'open-failed', {
|
||||||
@ -593,7 +593,7 @@ $.TileSource.prototype = {
|
|||||||
* @param {String|Object|Array|Document} data
|
* @param {String|Object|Array|Document} data
|
||||||
* @param {String} url - the url the data was loaded
|
* @param {String} url - the url the data was loaded
|
||||||
* from if any.
|
* from if any.
|
||||||
* @param {String} postData - HTTP POST data in k=v&k2=v2... form; or null; value obtained from
|
* @param {String} postData - HTTP POST data in k=v&k2=v2... form or null value obtained from
|
||||||
* the protocol URL after '#' sign if flag splitHashDataForPost set to 'true'
|
* the protocol URL after '#' sign if flag splitHashDataForPost set to 'true'
|
||||||
* @return {Object} options - A dictionary of keyword arguments sufficient
|
* @return {Object} options - A dictionary of keyword arguments sufficient
|
||||||
* to configure the tile source constructor (include all values you want to
|
* to configure the tile source constructor (include all values you want to
|
||||||
|
@ -111,7 +111,7 @@ $.extend( $.TmsTileSource.prototype, $.TileSource.prototype, /** @lends OpenSead
|
|||||||
* @function
|
* @function
|
||||||
* @param {Object} data - the raw configuration
|
* @param {Object} data - the raw configuration
|
||||||
* @param {String} url - the url the data was retrieved from if any.
|
* @param {String} url - the url the data was retrieved from if any.
|
||||||
* @param {String} postData - HTTP POST data in k=v&k2=v2... form; or null
|
* @param {String} postData - HTTP POST data in k=v&k2=v2... form or null
|
||||||
* @return {Object} options - A dictionary of keyword arguments sufficient
|
* @return {Object} options - A dictionary of keyword arguments sufficient
|
||||||
* to configure this tile sources constructor.
|
* to configure this tile sources constructor.
|
||||||
*/
|
*/
|
||||||
|
@ -122,7 +122,7 @@
|
|||||||
* @function
|
* @function
|
||||||
* @param {Object} data - the raw configuration
|
* @param {Object} data - the raw configuration
|
||||||
* @param {String} url - the url the data was retrieved from if any.
|
* @param {String} url - the url the data was retrieved from if any.
|
||||||
* @param {String} postData - HTTP POST data in k=v&k2=v2... form; or null
|
* @param {String} postData - HTTP POST data in k=v&k2=v2... form or null
|
||||||
* @return {Object} options - A dictionary of keyword arguments sufficient
|
* @return {Object} options - A dictionary of keyword arguments sufficient
|
||||||
* to configure this tile sources constructor.
|
* to configure this tile sources constructor.
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user