From 9de1d4a2f36a2a4c62fbf71675bd92fb2b921460 Mon Sep 17 00:00:00 2001 From: Tim Gates Date: Fri, 10 Apr 2020 07:47:59 +1000 Subject: [PATCH] docs: Fix simple typo, horziontal -> horizontal There is a small typo in src/item/Item.js, src/view/View.js. Should read `horizontal` rather than `horziontal`. --- src/item/Item.js | 4 ++-- src/view/View.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/item/Item.js b/src/item/Item.js index cfe4deae..c33c04c4 100644 --- a/src/item/Item.js +++ b/src/item/Item.js @@ -3465,7 +3465,7 @@ new function() { // Injection scope for hit-test functions shared with project * * @name Item#shear * @function - * @param {Point} shear the horziontal and vertical shear factors as a point + * @param {Point} shear the horizontal and vertical shear factors as a point * @param {Point} [center={@link Item#position}] * @see Matrix#shear(shear[, center]) */ @@ -3487,7 +3487,7 @@ new function() { // Injection scope for hit-test functions shared with project * * @name Item#skew * @function - * @param {Point} skew the horziontal and vertical skew angles in degrees + * @param {Point} skew the horizontal and vertical skew angles in degrees * @param {Point} [center={@link Item#position}] * @see Matrix#shear(skew[, center]) */ diff --git a/src/view/View.js b/src/view/View.js index 8a7bc1a7..68b3e244 100644 --- a/src/view/View.js +++ b/src/view/View.js @@ -633,7 +633,7 @@ var View = Base.extend(Emitter, /** @lends View# */{ * * @name View#shear * @function - * @param {Point} shear the horziontal and vertical shear factors as a point + * @param {Point} shear the horizontal and vertical shear factors as a point * @param {Point} [center={@link View#center}] * @see Matrix#shear(shear[, center]) */ @@ -655,7 +655,7 @@ var View = Base.extend(Emitter, /** @lends View# */{ * * @name View#skew * @function - * @param {Point} skew the horziontal and vertical skew angles in degrees + * @param {Point} skew the horizontal and vertical skew angles in degrees * @param {Point} [center={@link View#center}] * @see Matrix#shear(skew[, center]) */