mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-01 02:38:43 -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'],
|
||||
function(name, index) {
|
||||
this[name] = function(offset) {
|
||||
this[name + 'At'] = function(offset) {
|
||||
return this.evaluate(offset, index);
|
||||
};
|
||||
}, {})
|
||||
|
|
Loading…
Reference in a new issue