mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-21 20:56:09 +03:00
Update openseadragon.js
Fix jsdoc comments for OpenSeadragon.getCurrentPixelDensityRatio
This commit is contained in:
parent
980deca107
commit
7740accfaf
@ -1069,8 +1069,9 @@ function OpenSeadragon( options ){
|
|||||||
/**
|
/**
|
||||||
* A ratio comparing the device screen's pixel density to the canvas's backing store pixel density,
|
* A ratio comparing the device screen's pixel density to the canvas's backing store pixel density,
|
||||||
* clamped to a minimum of 1. Defaults to 1 if canvas isn't supported by the browser.
|
* clamped to a minimum of 1. Defaults to 1 if canvas isn't supported by the browser.
|
||||||
* @member {Number} pixelDensityRatio
|
* @function getCurrentPixelDensityRatio
|
||||||
* @memberof OpenSeadragon
|
* @memberof OpenSeadragon
|
||||||
|
* @returns {Number}
|
||||||
*/
|
*/
|
||||||
$.getCurrentPixelDensityRatio = function() {
|
$.getCurrentPixelDensityRatio = function() {
|
||||||
if ( $.supportsCanvas ) {
|
if ( $.supportsCanvas ) {
|
||||||
@ -1088,6 +1089,8 @@ function OpenSeadragon( options ){
|
|||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* A ratio comparing the device screen's pixel density to the canvas's backing store pixel density,
|
||||||
|
* clamped to a minimum of 1. Defaults to 1 if canvas isn't supported by the browser.
|
||||||
* @member {Number} pixelDensityRatio
|
* @member {Number} pixelDensityRatio
|
||||||
* @memberof OpenSeadragon
|
* @memberof OpenSeadragon
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user