mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-03 19:45:44 -05:00
Fix naming of PathIterator#get*At functions.
This commit is contained in:
parent
4adab91a18
commit
5046a6a64c
1 changed files with 1 additions and 1 deletions
|
@ -153,7 +153,7 @@ var PathIterator = Base.extend({
|
||||||
}
|
}
|
||||||
}, Base.each(['getPoint', 'getTangent', 'getNormal', 'getCurvature'],
|
}, Base.each(['getPoint', 'getTangent', 'getNormal', 'getCurvature'],
|
||||||
function(name, index) {
|
function(name, index) {
|
||||||
this[name] = function(offset) {
|
this[name + 'At'] = function(offset) {
|
||||||
return this.evaluate(offset, index);
|
return this.evaluate(offset, index);
|
||||||
};
|
};
|
||||||
}, {})
|
}, {})
|
||||||
|
|
Loading…
Reference in a new issue