Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 20 additions & 2 deletions bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -5711,6 +5711,10 @@ fetch(init_url, fetch_opts).then(res => res.text()).then(async source => {
(function (__filename){(function (){
const STATE = require('../src/node_modules/STATE')
const statedb = STATE(__filename)
const admin_api = statedb.admin()
admin_api.on(event => {
console.log(event)
})
const { sdb, io } = statedb(fallback_module)
const { drive, admin } = sdb
/******************************************************************************
Expand Down Expand Up @@ -5988,7 +5992,7 @@ async function create_component (entries_obj) {
func(data, type)
}
}
function fail (data, type) { throw new Error('invalid message', { cause: { data, type } }) }
function fail (data, type) { }
function inject(data) {
style.innerHTML = data.join('\n')
}
Expand Down Expand Up @@ -6237,7 +6241,21 @@ function fallback_module () {
z-index: 16;
}`
}
}
},
'icons/': {},
'variables/': {},
'scroll/': {},
'commands/': {},
'actions/': {},
'hardcons/': {},
'files/': {},
'highlight/': {},
'active_tab/': {},
'count/': {},
'entries/': {},
'runtime/': {},
'mode/': {},
'data/': {},
}
}
function quick_editor$ (args, tools, [quick_editor]){
Expand Down
22 changes: 20 additions & 2 deletions web/page.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
const STATE = require('../src/node_modules/STATE')
const statedb = STATE(__filename)
const admin_api = statedb.admin()
admin_api.on(event => {
console.log(event)
})
const { sdb, io } = statedb(fallback_module)
const { drive, admin } = sdb
/******************************************************************************
Expand Down Expand Up @@ -277,7 +281,7 @@ async function create_component (entries_obj) {
func(data, type)
}
}
function fail (data, type) { throw new Error('invalid message', { cause: { data, type } }) }
function fail (data, type) { }
function inject(data) {
style.innerHTML = data.join('\n')
}
Expand Down Expand Up @@ -526,7 +530,21 @@ function fallback_module () {
z-index: 16;
}`
}
}
},
'icons/': {},
'variables/': {},
'scroll/': {},
'commands/': {},
'actions/': {},
'hardcons/': {},
'files/': {},
'highlight/': {},
'active_tab/': {},
'count/': {},
'entries/': {},
'runtime/': {},
'mode/': {},
'data/': {},
}
}
function quick_editor$ (args, tools, [quick_editor]){
Expand Down