Remove unused argument.

This commit is contained in:
Jürg Lehni 2014-09-23 17:51:29 +02:00
parent 48e9447c47
commit 4adab91a18

View file

@ -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]();