From b1705f628b829fe296d8191adbb8016fea09dc49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Wed, 21 Nov 2018 11:58:22 +0100 Subject: [PATCH] Fix typos --- package.json | 5 ++++- src/core/PaperScript.js | 2 +- src/view/CanvasView.js | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index a1400798..4b7f05ae 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,10 @@ "url": "https://github.com/paperjs/paper.js" }, "bugs": "https://github.com/paperjs/paper.js/issues", - "contributors": ["Jürg Lehni (http://scratchdisk.com)", "Jonathan Puckey (http://studiomoniker.com)"], + "contributors": [ + "Jürg Lehni (http://scratchdisk.com)", + "Jonathan Puckey (http://studiomoniker.com)" + ], "main": "dist/paper-full.js", "scripts": { "precommit": "gulp jshint --branch develop", diff --git a/src/core/PaperScript.js b/src/core/PaperScript.js index f42b76ff..fbe88800 100644 --- a/src/core/PaperScript.js +++ b/src/core/PaperScript.js @@ -177,7 +177,7 @@ Base.exports.PaperScript = function() { var start = getOffset(node.range[0]), end = getOffset(node.range[1]), insert = 0; - // Sort insertions by their offset, so getOffest() can do its thing + // Sort insertions by their offset, so getOffset() can do its thing for (var i = insertions.length - 1; i >= 0; i--) { if (start > insertions[i][0]) { insert = i + 1; diff --git a/src/view/CanvasView.js b/src/view/CanvasView.js index efc120bb..b783eeb0 100644 --- a/src/view/CanvasView.js +++ b/src/view/CanvasView.js @@ -124,7 +124,7 @@ var CanvasView = View.extend(/** @lends CanvasView# */{ /** * Updates the view if there are changes. Note that when using built-in - * event hanlders for interaction, animation and load events, this method is + * event handlers for interaction, animation and load events, this method is * invoked for you automatically at the end. * * @return {Boolean} {@true if the view was updated}