Glyph code cleanup

This commit is contained in:
Belleve Invis 2020-06-03 18:49:01 -07:00
parent 730472f419
commit 924616430e
3 changed files with 3 additions and 18 deletions

View file

@ -106,7 +106,7 @@ function extPrior(a, b) {
function canonicalStart(_points) {
const points = _points.reverse();
let jm = 0;
for (var j = 0; j < points.length * 2; j++) {
for (let j = 0; j < points.length * 2; j++) {
if (extPrior(points[j % points.length], points[jm])) {
jm = j % points.length;
}