1
0
mirror of synced 2025-12-11 00:48:21 +08:00

chore: remove shx dependency

This commit is contained in:
surunzi
2020-11-21 20:35:38 +08:00
parent 870e1b9b66
commit 64aa973b25
47 changed files with 469 additions and 506 deletions

View File

@@ -47,10 +47,10 @@
</ul>
</nav>
<script>
;(function() {
;(function () {
let el = document.createElement('div')
document.body.appendChild(el)
setTimeout(function() {
setTimeout(function () {
try {
eruda.init({
container: el,
@@ -58,16 +58,13 @@
defaults: {
displaySize: 50,
transparency: 0.9,
theme: 'Monokai Pro'
}
theme: 'Monokai Pro',
},
})
} catch (e) {
alert(e)
}
eruda
.show()
.get()
.config.set('displaySize', 50)
eruda.show().get().config.set('displaySize', 50)
}, 1000)
})()
</script>