You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<html><head><!-- Note: as of time of writing every single line here exempt the scriptName logging is meaning full this solves quircs between the contexts. --><metaname="viewport" content="width=device-width"><!-- the absolute path to assets needs to end with / --><basehref="https://github.lemanschik.com/monaco-editor/node_modules/monaco-editor/" />
<!-- the absolute path to assets relative to that js needs to start relaive eg no / --><script>globalThis.require={paths: {vs: 'min/vs/'}};constmonacoLoaded=newReadableStream({start: (controller)=>(observer=newMutationObserver((mutationsList,observer)=>globalThis.monaco&&[controller.enqueue(globalThis.monaco),observer.disconnect(),controller.close()])).observe(document,{attributes: false,childList: true,subtree: true})});constloadedScripts=newReadableStream({start: (controller)=>newMutationObserver((mutationsList,observer)=>{for(constmutationofmutationsList){(mutation.type==='childList')&&Array.from(mutation.addedNodes).filter(node=>node.tagName==='SCRIPT').forEach(script=>script.addEventListener('load',()=>controller.enqueue(script.src)));};}).observe(document,{attributes: false,childList: true,subtree: true})});</script><scripttype="module">//window.define = (d) => console.log({d}) window.AMDLoader = { global: window }window.addEventListener('DOMContentLoaded',(_event)=>{});loadedScripts.pipeTo(newWritableStream({write: (scriptName)=>console.log(scriptName)}));monacoLoaded.pipeTo(newWritableStream({write: (monaco)=>{console.log('Loaded: ',{ monaco });customElements.define('line-parser',classextendsHTMLDivElement{connectedCallback(){Object.assign(this.style,{height: "100vh",width: "100vw"})this.editor=monaco.editor.create(this,{value: `// First linefunction hello() { alert('Hello world!');}// Last line`,language: 'javascript',lineNumbers: 'on',roundedSelection: false,scrollBeyondLastLine: false,readOnly: false,theme: 'vs-dark'});//editor.updateOptions({ lineNumbers: 'on' });this.resize=addEventListener("resize",(event)=>{this.editor?.layout()});}// Needs div explicitly},{extends: "div"});}}));</script><scriptsrc="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.9.1/jquery.min.js"
integrity="sha256-wS9gmOZBqsqWxgIVgA8Y9WcQOa7PgSIX+rPA0VL2rbQ="
crossorigin="anonymous"
></script><scriptsrc="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/2.3.0/bootstrap.min.js"
integrity="sha256-u+l2mGjpmGK/mFgUncmMcFKdMijvV+J3odlDJZSNUu8="
crossorigin="anonymous"
></script><scriptsrc="min/vs/loader.js"></script><scriptsrc="min/vs/editor/editor.main.nls.js"></script><scriptsrc="min/vs/editor/editor.main.js"></script></head><body><divis="line-parser" style="height: 200px;"></div></body><p>HTML Based Web Installer for @unlicensed-code/editor<p><p>Install Chromium Extension<p><p>Install PWA<p><p>Install Standalone via fileAccess API<p></html>
The text was updated successfully, but these errors were encountered:
Loading Monaco from lemanschik.com
The text was updated successfully, but these errors were encountered: