Fix JSDoc.

This commit is contained in:
Antoine Vandecreme 2016-04-05 20:00:35 -04:00
parent d631d97545
commit bd4cabaec2
2 changed files with 3 additions and 9 deletions

View File

@ -96,11 +96,6 @@
*
*/
/**
* @module OpenSeadragon
*
*/
/**
* @namespace OpenSeadragon
*
@ -691,8 +686,7 @@
* This function serves as a single point of instantiation for an {@link OpenSeadragon.Viewer}, including all
* combinations of out-of-the-box configurable features.
*
* @function OpenSeadragon
* @memberof module:OpenSeadragon
* @function
* @param {OpenSeadragon.Options} options - Viewer options.
* @returns {OpenSeadragon.Viewer}
*/

View File

@ -317,8 +317,8 @@ $.Viewport.prototype = {
},
/**
* @function
* The margins push the "home" region in from the sides by the specified amounts.
* @function
* @returns {Object} Properties (Numbers, in screen coordinates): left, top, right, bottom.
*/
getMargins: function() {
@ -326,8 +326,8 @@ $.Viewport.prototype = {
},
/**
* @function
* The margins push the "home" region in from the sides by the specified amounts.
* @function
* @param {Object} margins - Properties (Numbers, in screen coordinates): left, top, right, bottom.
*/
setMargins: function(margins) {