diff --git a/contributing.md b/contributing.md index ad033fad..728cbb5a 100644 --- a/contributing.md +++ b/contributing.md @@ -57,7 +57,6 @@ Here's an example: you're writing the [`native()`](https://github.com/tridactyl/ - config_rc.ts: Functions related to loading and executing the tridactylrc. - controller_background.ts: Parses and executes ex commands. - download_background.ts: Utility functions related to downloading that have to live in the background because downloading APIs aren't available to other processes. -- nearley_utils.ts: Remnant of Tridactyl's previous architecture, where keys were handled in the background script. ### src/content/ @@ -91,6 +90,7 @@ Here's an example: you're writing the [`native()`](https://github.com/tridactyl/ - text_to_speech.ts: Various wrappers around Firefox's TTS APIs. - url_util.ts: Url incrementation, query-extraction, interpolation. - webext.ts: Wrappers around Firefox's APIs (activeTab(), ownTab()...). +- nearley_utils.ts: Remnant of Tridactyl's previous architecture, where keys were handled in the background script. ### src/ diff --git a/src/lib/keyseq.ts b/src/lib/keyseq.ts index a67b57d0..42c6e5b3 100644 --- a/src/lib/keyseq.ts +++ b/src/lib/keyseq.ts @@ -22,7 +22,7 @@ /** */ import { find, filter, izip } from "@src/lib/itertools" -import { Parser } from "@src/background/nearley_utils" +import { Parser } from "@src/lib/nearley_utils" import * as bracketexpr_grammar from "@src/grammars/.bracketexpr.generated" const bracketexpr_parser = new Parser(bracketexpr_grammar) diff --git a/src/background/nearley_utils.ts b/src/lib/nearley_utils.ts similarity index 100% rename from src/background/nearley_utils.ts rename to src/lib/nearley_utils.ts