From 3f1072b321f93ff0d9616c9429b91aa3cabb65c0 Mon Sep 17 00:00:00 2001 From: Ian Gilman Date: Wed, 26 Jun 2013 09:15:37 -0700 Subject: [PATCH] Fixed typos in comments --- src/drawer.js | 4 ++-- src/viewport.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/drawer.js b/src/drawer.js index 032fa49b..0d7ce635 100644 --- a/src/drawer.js +++ b/src/drawer.js @@ -419,7 +419,7 @@ $.Drawer.prototype = { if(overlay.px !== undefined){ - //if they specified 'px' so its in pixel coordinates so + //if they specified 'px' so it's in pixel coordinates so //we need to translate to viewport coordinates rect = drawer.viewport.imageToViewportRectangle( rect ); } @@ -438,7 +438,7 @@ $.Drawer.prototype = { /** * @private * @inner - * Pretty much every other line in this needs to be documented so its clear + * Pretty much every other line in this needs to be documented so it's clear * how each piece of this routine contributes to the drawing process. That's * why there are so many TODO's inside this function. */ diff --git a/src/viewport.js b/src/viewport.js index 563a015e..0606769b 100644 --- a/src/viewport.js +++ b/src/viewport.js @@ -691,7 +691,7 @@ $.Viewport.prototype = { }, /** - * Translates from a rectanlge which describes a portion of + * Translates from a rectangle which describes a portion of * the image in pixel coordinates to OpenSeadragon viewport * rectangle coordinates. */