rename path to paths for consistency with other helpers

This commit is contained in:
Stewart Allen 2022-02-17 00:39:50 -05:00
commit b8b7ce70d2
4 changed files with 5 additions and 5 deletions

View file

@ -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
};