*** note Warning: This document is old & has moved. Please update any links:
https://chromium.googlesource.com/apps/libapps/+/HEAD/hterm/docs/internals/source.md
The vast majority of the code here lives under js/.
Core logic
Terminal
object.Keyboard related code
Supplementary modules
Terminal
object.Testing related code
hterm_mock_*.js
: Various object mocks to simplify unittests.*_tests.js
: Each module has a corresponding set of unittests. The filename follows the convention of adding _tests
. e.g. hterm_tests.js
contains the tests for hterm.js
.