commit | b20765873c5f34effd1b3dd28636b52767727e2f | [log] [tgz] |
---|---|---|
author | Asad Memon <asadmemon@pigweed.infra.roller.google.com> | Fri Aug 19 20:53:48 2022 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Aug 19 20:53:48 2022 +0000 |
tree | c1e037ac8db83ada0956ca646e17dba64bb82f64 | |
parent | fa5ce250d9873497f51010b363421f0b04761148 [diff] |
[roll pigweed] pw_web: Add a basic JavaScript REPL The REPL supports autocomplete, command history but does not yet have a way to call RPC ie. no `device.` global object. Command editor is based on CodeMirror. We modify some keybindings (like Enter to execute command, arrow up/down to view history). Command history is stored in `localStorage`. REPL log view is based on xterm.js. Original-Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/106171 https://pigweed.googlesource.com/pigweed/pigweed pigweed Rolled-Commits: 1e67862f9dd32d8..29ac193641a6b62 Roller-URL: https://ci.chromium.org/b/8805369997892495089 CQ-Do-Not-Cancel-Tryjobs: true Change-Id: I9ed46e732e75f859890f7c4995b278c90fee82eb Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/zephyr-integration/+/107649 Commit-Queue: Pigweed Integration Roller <pigweed-integration-roller@pigweed.google.com.iam.gserviceaccount.com> Bot-Commit: Pigweed Integration Roller <pigweed-integration-roller@pigweed.google.com.iam.gserviceaccount.com>