codemirror disabled console.dir
This commit is contained in:
parent
83df6fd104
commit
ca18c11eb3
|
@ -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
|
|
@ -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( () => {
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue