From 9329692de1d743e80b8b8e36dc339a81f1c1ee9d Mon Sep 17 00:00:00 2001 From: lingdocs <71590811+lingdocs@users.noreply.github.com> Date: Wed, 14 Jul 2021 01:24:44 +0300 Subject: [PATCH] oops --- package.json | 2 +- src/lib/misc-helpers.ts | 22 ---------------------- 2 files changed, 1 insertion(+), 23 deletions(-) diff --git a/package.json b/package.json index 9fec467..1c2918d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@lingdocs/pashto-inflector", - "version": "0.7.2", + "version": "0.7.3", "author": "lingdocs.com", "description": "A Pashto inflection and verb conjugation engine, inculding React components for displaying Pashto text, inflections, and conjugations", "homepage": "https://verbs.lingdocs.com", diff --git a/src/lib/misc-helpers.ts b/src/lib/misc-helpers.ts index eb32837..7aa5698 100644 --- a/src/lib/misc-helpers.ts +++ b/src/lib/misc-helpers.ts @@ -261,25 +261,3 @@ export function parseEc(ec: string): T.EnglishVerbConjugationEc { ? [items[0], items[1], items[2], items[3], items[4]] : makeRegularConjugations(items[0]); } - -// not being used -// export function isImperativeBlock(f: any): boolean { -// function isPersonLine(g: any): boolean { -// return Array.isArray(g) && Array.isArray(g[0]) && "p" in g[0][0]; -// } -// return Array.isArray(f) && f.length === 2 && isPersonLine(f[0]); -// } - -const b = { - a: "foo", - b: "bar", - c: { - d: "foo", - e: "bar", - }, -}; - -// export function findPathsToItem(block: any, s: string): string[][] { -// const keys = Object.keys(block); -// return keys.reduce() -// } \ No newline at end of file