Fix naming of PathIterator#get*At functions.

This commit is contained in:
Jürg Lehni 2014-09-24 12:32:07 +02:00
parent 4adab91a18
commit 5046a6a64c

View file

@ -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);
};
}, {})