diff options
author | Evan Welsh <contact@evanwelsh.com> | 2023-03-12 13:08:08 -0700 |
---|---|---|
committer | Evan Welsh <contact@evanwelsh.com> | 2023-03-12 13:08:08 -0700 |
commit | 96c80122e474aac114d0d52acde1f2de3a711b85 (patch) | |
tree | 28e834f09788922be2adebf7b89a913fc0dc60d4 /modules/script/console.js | |
parent | 064894bf82755f51aaa1f762c06cacc8bf55720f (diff) | |
download | gjs-ewlsh/nova-repl.tar.gz |
feat: Console async workewlsh/nova-repl
Diffstat (limited to 'modules/script/console.js')
-rw-r--r-- | modules/script/console.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/modules/script/console.js b/modules/script/console.js new file mode 100644 index 00000000..d80b699c --- /dev/null +++ b/modules/script/console.js @@ -0,0 +1,12 @@ +// SPDX-License-Identifier: MIT OR LGPL-2.0-or-later +// SPDX-FileCopyrightText: 2021 Evan Welsh <contact@evanwelsh.com> + +/* exported Repl, interact */ + +var Repl = null; + +function interact() { + const repl = new Repl(); + + repl.start(); +} |