libdot: fix event types

The callback funcs take an object mapping, not an array, so fix it
to match the latest chrome externs/APIs.  We were already using it
this way, so it's just a matter of the @type's being wrong.

We copy in the newer Chrome extern settings too to satisfy this.

Change-Id: I29d53d5f2e1fa13418a26fd989832a69013ad427
Tested-by: kokoro <>
Reviewed-by: Joel Hockey <>
2 files changed
tree: dc9b0b4926e2b5997f794566df6f1fe23c7518bf
  1. .clang-format
  2. .eslintrc.js
  3. .gitignore
  4. .npmrc
  5. .pylintrc
  6. Dockerfile
  10. PRESUBMIT.cfg
  12. hterm/
  13. kokoro/
  14. libdot/
  15. nassh/
  17. package.json
  18. ssh_client/
  19. terminal/
  20. wasi-js-bindings/
  21. wassh/


This repository contains the libdot JavaScript library and some web applications that make use of it.

The official copy of this repository is hosted at

There is also a mirror on github at A few subprojects are also extracted out into their own git repo and mirrored. Keep in mind that these mirrors may occasionally be behind the official repository.

All changes must go through the Gerrit code review server on Github pull requests cannot be accepted. Please see the document in this directory for the details.

Top level directories

  • libdot/ is a small set of JS libraries initially developed as part of hterm, now available as shared code.

  • hterm/ is a JS library that provides a terminal emulator. It is reasonably fast, reasonably correct, and reasonably portable across browsers.

  • nassh/ is the Secure Shell Chrome extension that combines hterm with a NaCl build of OpenSSH to provide a PuTTY-like app for Chrome users.

  • ssh_client/ is the NaCl port of OpenSSH. It is used by nassh to create the Secure Shell App.