codemirror disabled console.dir

This commit is contained in:
Leon van Kammen 2024-12-16 18:49:36 +01:00
parent 83df6fd104
commit ca18c11eb3
3 changed files with 0 additions and 13 deletions

View File

@ -1,11 +0,0 @@
#!/bin/sh
source /etc/profile.sh
require 'https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.58.1/codemirror.js'
require 'https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.35.0/codemirror.css'
require 'https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.35.0/theme/shadowfox.css'
require 'com/codemirror.js'
echo "<a-entity codemirror='file: $1'></a-entity>" >> /dev/browser/html
# for js-equivalent see bin/codemirror

View File

@ -125,7 +125,6 @@ AFRAME.registerComponent('codemirror', {
.then( this.isoterminal.convert.Uint8ArrayToString )
.then( (str) => {
console.log("creating editor: "+this.data.file)
console.dir(str)
this.createEditor( str )
})
.catch( (e) => {
@ -200,7 +199,6 @@ AFRAME.utils.require({
cmjavascript: "https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.35.0/mode/javascript/javascript.js",
cmcss: "https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.35.0/mode/css/css.js",
highlight: "https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.35.0/mode/htmlmixed/htmlmixed.js",
codemirrorAF: "com/codemirror.js"
})
)
.then( () => {

BIN
dist/v86-linux.iso vendored

Binary file not shown.