mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-22 05:06:09 +03:00
Doc comment fixes
This commit is contained in:
parent
b49fef332c
commit
ca4550d76e
@ -1238,8 +1238,9 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @function Increment this pointer's contact count.
|
* Increment this pointer's contact count.
|
||||||
* It will evaluate whether this pointer type is allowed to have multiple contacts.
|
* It will evaluate whether this pointer type is allowed to have multiple contacts.
|
||||||
|
* @function
|
||||||
*/
|
*/
|
||||||
addContact: function() {
|
addContact: function() {
|
||||||
++this.contacts;
|
++this.contacts;
|
||||||
@ -1250,8 +1251,9 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @function Decrement this pointer's contact count.
|
* Decrement this pointer's contact count.
|
||||||
* It will make sure the count does not go below 0.
|
* It will make sure the count does not go below 0.
|
||||||
|
* @function
|
||||||
*/
|
*/
|
||||||
removeContact: function() {
|
removeContact: function() {
|
||||||
--this.contacts;
|
--this.contacts;
|
||||||
@ -3341,10 +3343,12 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// True if inside an iframe, otherwise false.
|
/**
|
||||||
// @member {Boolean} isInIframe
|
* True if inside an iframe, otherwise false.
|
||||||
// @private
|
* @member {Boolean} isInIframe
|
||||||
// @inner
|
* @private
|
||||||
|
* @inner
|
||||||
|
*/
|
||||||
var isInIframe = (function() {
|
var isInIframe = (function() {
|
||||||
try {
|
try {
|
||||||
return window.self !== window.top;
|
return window.self !== window.top;
|
||||||
@ -3353,10 +3357,12 @@
|
|||||||
}
|
}
|
||||||
})();
|
})();
|
||||||
|
|
||||||
// @function
|
/**
|
||||||
// @private
|
* @function
|
||||||
// @inner
|
* @private
|
||||||
// @returns {Boolean} True if the target has access rights to events, otherwise false.
|
* @inner
|
||||||
|
* @returns {Boolean} True if the target has access rights to events, otherwise false.
|
||||||
|
*/
|
||||||
function canAccessEvents (target) {
|
function canAccessEvents (target) {
|
||||||
try {
|
try {
|
||||||
return target.addEventListener && target.removeEventListener;
|
return target.addEventListener && target.removeEventListener;
|
||||||
|
@ -849,8 +849,8 @@ $.extend($.TiledImage.prototype, $.EventSource.prototype, /** @lends OpenSeadrag
|
|||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @private
|
|
||||||
* Get the point around which this tiled image is rotated
|
* Get the point around which this tiled image is rotated
|
||||||
|
* @private
|
||||||
* @param {Boolean} current True for current rotation point, false for target.
|
* @param {Boolean} current True for current rotation point, false for target.
|
||||||
* @returns {OpenSeadragon.Point}
|
* @returns {OpenSeadragon.Point}
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user