mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2024-12-28 17:02:24 -05:00
Fix typos
This commit is contained in:
parent
a4a2fb7eef
commit
b1705f628b
3 changed files with 6 additions and 3 deletions
|
@ -9,7 +9,10 @@
|
|||
"url": "https://github.com/paperjs/paper.js"
|
||||
},
|
||||
"bugs": "https://github.com/paperjs/paper.js/issues",
|
||||
"contributors": ["Jürg Lehni <juerg@scratchdisk.com> (http://scratchdisk.com)", "Jonathan Puckey <jonathan@studiomoniker.com> (http://studiomoniker.com)"],
|
||||
"contributors": [
|
||||
"Jürg Lehni <juerg@scratchdisk.com> (http://scratchdisk.com)",
|
||||
"Jonathan Puckey <jonathan@studiomoniker.com> (http://studiomoniker.com)"
|
||||
],
|
||||
"main": "dist/paper-full.js",
|
||||
"scripts": {
|
||||
"precommit": "gulp jshint --branch develop",
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue