rename path to paths for consistency with other helpers
This commit is contained in:
parent
36d3f6b0b6
commit
b8b7ce70d2
4 changed files with 5 additions and 5 deletions
|
|
@ -5,7 +5,7 @@
|
|||
(function() {
|
||||
|
||||
const base = self.base;
|
||||
if (base.path) return;
|
||||
if (base.paths) return;
|
||||
|
||||
const { util, config, newPoint } = base;
|
||||
const { sqr, numOrDefault } = util;
|
||||
|
|
@ -103,7 +103,7 @@ function poly2polyEmit(array, startPoint, emitter, opt = {}) {
|
|||
return startPoint;
|
||||
}
|
||||
|
||||
base.path = {
|
||||
base.paths = {
|
||||
poly2polyEmit,
|
||||
tip2tipEmit
|
||||
};
|
||||
Loading…
Reference in a new issue