From 5046a6a64c7a60e823bea7bfc7d16944c5505a4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Wed, 24 Sep 2014 12:32:07 +0200 Subject: [PATCH] Fix naming of PathIterator#get*At functions. --- src/path/PathIterator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/path/PathIterator.js b/src/path/PathIterator.js index 14d445da..fb1c2090 100644 --- a/src/path/PathIterator.js +++ b/src/path/PathIterator.js @@ -153,7 +153,7 @@ var PathIterator = Base.extend({ } }, Base.each(['getPoint', 'getTangent', 'getNormal', 'getCurvature'], function(name, index) { - this[name] = function(offset) { + this[name + 'At'] = function(offset) { return this.evaluate(offset, index); }; }, {})