mirror of
https://github.com/vale981/tridactyl
synced 2025-03-04 17:11:40 -05:00
Move nearley_utils into lib
It doesn't actually use anything that requires it to live in the background script, as far as I can tell.
This commit is contained in:
parent
a15af91be6
commit
53b1106b14
3 changed files with 2 additions and 2 deletions
|
@ -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/
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue