From 371be6a0821b5d13934b7ec379788b1992cf076b Mon Sep 17 00:00:00 2001 From: Kiliman Date: Wed, 24 Jul 2019 09:46:15 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Prettier=20formatting?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.js | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/index.js b/index.js index c17a9d0..aa8abc6 100644 --- a/index.js +++ b/index.js @@ -266,12 +266,10 @@ const patchGsub = (dom, ligatures) => { // don't patch if no ligatures other than LIG if (ligatures.length <= 1) return; - ligatures - //.filter(ligature => /_/.test(ligature.glyph)) - .forEach(ligature => { - // build gsub tables - gsub.buildGsubTables(dom, ligature); - }); + ligatures.forEach(ligature => { + // build gsub tables + gsub.buildGsubTables(dom, ligature); + }); gsub.finalizeGsubTables(); };