Remove <require>s from PTL
This commit is contained in:
parent
1830687a99
commit
fa70a3ff62
4 changed files with 4 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
const EmptyFont = require("./empty-font");
|
const EmptyFont = require("./empty-font");
|
||||||
const buildGlyphs = require("../glyphs/index");
|
const { buildGlyphs } = require("../glyphs/index");
|
||||||
const finalizeFont = require("./finalize/index");
|
const finalizeFont = require("./finalize/index");
|
||||||
const convertOtd = require("./otd-conv/index");
|
const convertOtd = require("./otd-conv/index");
|
||||||
const Caching = require("./caching/index");
|
const Caching = require("./caching/index");
|
||||||
|
|
|
@ -20,7 +20,7 @@ define [$NamedParameterPair$ l r] : begin
|
||||||
|
|
||||||
define [$donothing$] nothing
|
define [$donothing$] nothing
|
||||||
|
|
||||||
export all : define [buildGlyphs para recursive recursiveCodes] : begin
|
export : define [buildGlyphs para recursive recursiveCodes] : begin
|
||||||
local glyphStore : new GlyphStore
|
local glyphStore : new GlyphStore
|
||||||
|
|
||||||
define metrics : calculateMetrics para
|
define metrics : calculateMetrics para
|
||||||
|
|
|
@ -122,7 +122,7 @@ define-macro glyph-module : syntax-rules
|
||||||
]
|
]
|
||||||
|
|
||||||
define-macro run-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
|
define-macro glyph-block-import : syntax-rules
|
||||||
`[glyph-block-import @_blockName] : begin
|
`[glyph-block-import @_blockName] : begin
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
"fs-extra": "^10.0.0",
|
"fs-extra": "^10.0.0",
|
||||||
"ot-builder": "^1.0.6",
|
"ot-builder": "^1.0.6",
|
||||||
"otb-ttc-bundle": "^1.0.4",
|
"otb-ttc-bundle": "^1.0.4",
|
||||||
"patel": "^0.34.0",
|
"patel": "^0.35.0",
|
||||||
"semver": "^7.3.5",
|
"semver": "^7.3.5",
|
||||||
"spiro": "^3.0.0",
|
"spiro": "^3.0.0",
|
||||||
"stylus": "^0.54.8",
|
"stylus": "^0.54.8",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue