diff --git a/src/path/Path.js b/src/path/Path.js index 14d3f36d..9f701b88 100644 --- a/src/path/Path.js +++ b/src/path/Path.js @@ -1597,7 +1597,7 @@ var Path = PathItem.extend(/** @lends Path# */{ // TODO: intersects(item) // TODO: contains(item) }, Base.each(['getPoint', 'getTangent', 'getNormal', 'getCurvature'], - function(name, index) { + function(name) { this[name + 'At'] = function(offset, isParameter) { var loc = this.getLocationAt(offset, isParameter); return loc && loc[name]();