From 2473c809b2ad1861b1cfb8ca1d72b065998d0c3d Mon Sep 17 00:00:00 2001 From: Antoine Vandecreme Date: Tue, 18 Mar 2014 13:05:21 -0400 Subject: [PATCH] Fix mistakes in doc. --- src/openseadragon.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/openseadragon.js b/src/openseadragon.js index 13e96eb1..4532ddbf 100644 --- a/src/openseadragon.js +++ b/src/openseadragon.js @@ -137,10 +137,10 @@ * {@link OpenSeadragon.LegacyTileSource}. * * @property {Array} overlays Array of objects defining permanent overlays of - * the viewer. The overlays added via this options and later removed with + * the viewer. The overlays added via this option and later removed with * {@link OpenSeadragon.Viewer#removeOverlay} will be added back when a new * image is opened. - * To add overlays which can be definitly removed, one must use + * To add overlays which can be definitively removed, one must use * {@link OpenSeadragon.Viewer#addOverlay} * If displaying a sequence of images, the overlays can be associated * with a specific page by passing the overlays array to the page's @@ -149,13 +149,13 @@ * * x, y, (or px, py for pixel coordinates) to define the location. * * width, height in point if using x,y or in pixels if using px,py. If width * and height are specified, the overlay size is adjusted when zooming, - * otherwise the size stay the size of the content (or the size defined by CSS). + * otherwise the size stays the size of the content (or the size defined by CSS). * * className to associate a class to the overlay * * id to set the overlay element. If an element with this id already exists, * it is reused, otherwise it is created. If not specified, a new element is * created. * * placement a string to define the relative position to the viewport. - * Only used if no width and height are specified. Default: TOP_LEFT. + * Only used if no width and height are specified. Default: 'TOP_LEFT'. * See {@link OpenSeadragon.OverlayPlacement} for possible values. * * @property {String} [xmlPath=null]