From 3d1ba84c4d46286ddb60eb48fd0a6fa5e4de8d29 Mon Sep 17 00:00:00 2001 From: Sean Wilkinson Date: Fri, 13 Dec 2013 15:11:00 -0600 Subject: [PATCH] Corrected simple spelling mistakes in comments --- src/iiiftilesource.js | 2 +- src/tile.js | 2 +- src/tilesource.js | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/iiiftilesource.js b/src/iiiftilesource.js index a9b79cd1..2c8814ef 100644 --- a/src/iiiftilesource.js +++ b/src/iiiftilesource.js @@ -114,7 +114,7 @@ $.extend( $.IIIFTileSource.prototype, $.TileSource.prototype, /** @lends OpenSea * @param {Object|XMLDocument} data - the raw configuration * @param {String} url - the url the data was retreived from if any. * @return {Object} options - A dictionary of keyword arguments sufficient - * to configure this tile source via it's constructor. + * to configure this tile source via its constructor. */ configure: function( data, url ){ var service, diff --git a/src/tile.js b/src/tile.js index 820f856b..75128fd5 100644 --- a/src/tile.js +++ b/src/tile.js @@ -298,7 +298,7 @@ $.Tile.prototype = /** @lends OpenSeadragon.Tile.prototype */{ }, /** - * Removes tile from it's contianer. + * Removes tile from its contianer. * @function */ unload: function() { diff --git a/src/tilesource.js b/src/tilesource.js index e6dff844..90a80f7c 100644 --- a/src/tilesource.js +++ b/src/tilesource.js @@ -55,7 +55,7 @@ * @param {Number|Object|Array|String} width * If more than a single argument is supplied, the traditional use of * positional parameters is supplied and width is expected to be the width - * source image at it's max resolution in pixels. If a single argument is supplied and + * source image at its max resolution in pixels. If a single argument is supplied and * it is an Object or Array, the construction is assumed to occur through * the extending classes implementation of 'configure'. Finally if only a * single argument is supplied and it is a String, the extending class is @@ -93,7 +93,7 @@ $.TileSource = function( width, height, tileSize, tileOverlap, minLevel, maxLeve } //Tile sources supply some events, namely 'ready' when they must be configured - //by asyncronously fetching their configuration data. + //by asynchronously fetching their configuration data. $.EventSource.call( this ); //we allow options to override anything we dont treat as @@ -131,7 +131,7 @@ $.TileSource = function( width, height, tileSize, tileOverlap, minLevel, maxLeve * @memberof OpenSeadragon.TileSource# */ /** - * The overlap in pixels each tile shares with it's adjacent neighbors. + * The overlap in pixels each tile shares with its adjacent neighbors. * @member {Number} tileOverlap * @memberof OpenSeadragon.TileSource# */ @@ -366,7 +366,7 @@ $.TileSource.prototype = /** @lends OpenSeadragon.TileSource.prototype */{ callback: callback }); } else { - // request info via xhr asyncronously. + // request info via xhr asynchronously. $.makeAjaxRequest( url, function( xhr ) { var data = processResponse( xhr ); callback( data );