This commit is contained in:
lingdocs 2021-07-14 01:24:44 +03:00
parent 17738972cc
commit 9329692de1
2 changed files with 1 additions and 23 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "@lingdocs/pashto-inflector", "name": "@lingdocs/pashto-inflector",
"version": "0.7.2", "version": "0.7.3",
"author": "lingdocs.com", "author": "lingdocs.com",
"description": "A Pashto inflection and verb conjugation engine, inculding React components for displaying Pashto text, inflections, and conjugations", "description": "A Pashto inflection and verb conjugation engine, inculding React components for displaying Pashto text, inflections, and conjugations",
"homepage": "https://verbs.lingdocs.com", "homepage": "https://verbs.lingdocs.com",

View File

@ -261,25 +261,3 @@ export function parseEc(ec: string): T.EnglishVerbConjugationEc {
? [items[0], items[1], items[2], items[3], items[4]] ? [items[0], items[1], items[2], items[3], items[4]]
: makeRegularConjugations(items[0]); : 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()
// }