Collect console log and allow time-travel to log invocation

This commit is contained in:
Dmitry Vasilev
2022-10-17 02:49:21 +08:00
parent 1a00533103
commit 8c7c68ba50
15 changed files with 581 additions and 186 deletions

View File

@@ -1,6 +1,8 @@
// TODO large arrays/objects
// TODO maps, sets
// TODO show Errors in red
// TODO fns as clickable links (jump to definition), both for header and for
// content
import {el, stringify, scrollIntoViewIfNeeded} from './domutils.js'
@@ -53,7 +55,7 @@ export const stringify_for_header = v => {
}
}
const header = object => {
export const header = object => {
if(typeof(object) == 'undefined') {
return 'undefined'
} else if(object == null) {