Remove <require>s from PTL

This commit is contained in:
be5invis 2021-07-17 13:43:14 -07:00
parent 1830687a99
commit fa70a3ff62
4 changed files with 4 additions and 4 deletions

View file

@ -1,7 +1,7 @@
"use strict";
const EmptyFont = require("./empty-font");
const buildGlyphs = require("../glyphs/index");
const { buildGlyphs } = require("../glyphs/index");
const finalizeFont = require("./finalize/index");
const convertOtd = require("./otd-conv/index");
const Caching = require("./caching/index");

View file

@ -20,7 +20,7 @@ define [$NamedParameterPair$ l r] : begin
define [$donothing$] nothing
export all : define [buildGlyphs para recursive recursiveCodes] : begin
export : define [buildGlyphs para recursive recursiveCodes] : begin
local glyphStore : new GlyphStore
define metrics : calculateMetrics para

View file

@ -122,7 +122,7 @@ define-macro glyph-module : syntax-rules
]
define-macro run-glyph-module : syntax-rules
`[run-glyph-module @path] : dirty `[[import @path].apply.call $$Capture$$]
`[run-glyph-module @{'.quote' path}] : dirty `[@{'.import' [formOf path]}.apply.call $$Capture$$]
define-macro glyph-block-import : syntax-rules
`[glyph-block-import @_blockName] : begin

View file

@ -16,7 +16,7 @@
"fs-extra": "^10.0.0",
"ot-builder": "^1.0.6",
"otb-ttc-bundle": "^1.0.4",
"patel": "^0.34.0",
"patel": "^0.35.0",
"semver": "^7.3.5",
"spiro": "^3.0.0",
"stylus": "^0.54.8",