hterm: fix lint and closure-compile errors
Removed dead code in hterm.Frame.prototype.show.
Bug: 998928
Change-Id: Ia2a33fdf2e8d06be234541aa55bd8c62be312cb5
Reviewed-on: https://chromium-review.googlesource.com/c/apps/libapps/+/1773090
Tested-by: Joel Hockey <joelhockey@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>
diff --git a/hterm/js/hterm_test.js b/hterm/js/hterm_test.js
index 59a8ca4..e2cd273 100644
--- a/hterm/js/hterm_test.js
+++ b/hterm/js/hterm_test.js
@@ -17,11 +17,12 @@
// Catch any random errors before the test runner runs.
let earlyError = null;
+/** Catch any errors. */
window.onerror = function() {
earlyError = Array.from(arguments);
};
-// Run the test framework once everything is finished.
+/** Run the test framework once everything is finished. */
window.onload = function() {
hterm.defaultStorage = new lib.Storage.Memory();