From 60f1e78889f561c0382d8e040e0810775df97ebc Mon Sep 17 00:00:00 2001 From: sapics Date: Sat, 5 Mar 2016 12:19:32 +0900 Subject: [PATCH] Call curve._changed at curve.divideAtTime --- src/basic/Point.js | 2 +- src/node/window.js | 2 +- src/path/Curve.js | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/basic/Point.js b/src/basic/Point.js index 56eb1159..df8599f2 100644 --- a/src/basic/Point.js +++ b/src/basic/Point.js @@ -46,7 +46,7 @@ var Point = Base.extend(/** @lends Point# */{ * coordinates. * * @name Point#initialize - * @param {array} array + * @param {Array} array * * @example * // Creating a point at x: 10, y: 5 using an array of numbers: diff --git a/src/node/window.js b/src/node/window.js index be7010fd..60c467e8 100644 --- a/src/node/window.js +++ b/src/node/window.js @@ -52,7 +52,7 @@ XMLSerializer.prototype.serializeToString = function(node) { function DOMParser() { } -DOMParser.prototype.parseFromString = function(string, contenType) { +DOMParser.prototype.parseFromString = function(string, contentType) { // Create a new document, since we're supposed to always return one. var doc = document.implementation.createHTMLDocument(''), body = doc.body, diff --git a/src/path/Curve.js b/src/path/Curve.js index fb9ac048..c22988e4 100644 --- a/src/path/Curve.js +++ b/src/path/Curve.js @@ -506,6 +506,7 @@ var Curve = Base.extend(/** @lends Curve# */{ } else { // otherwise create it from the result of split this._segment2 = segment; + this._changed(); res = new Curve(segment, segment2); } }