what are the "worker-xxx.js"? #4855
-
e.g |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
They are linters which are loaded into web worker, and provide annotations on the gutter of the editor |
Beta Was this translation helpful? Give feedback.
-
It appears there is a regression in the minified version, using "https://cdnjs.cloudflare.com/ajax/libs/ace/1.8.1/ace.js" works see https://jsbin.com/vosaguzada/edit?html,output <body>
<script src="https://cdnjs.cloudflare.com/ajax/libs/ace/1.8.1/ace.js" type="text/javascript" charset="utf-8"></script>
<script charset="utf-8">
var editor = ace.edit(null, {
theme: "ace/theme/monokai",
mode: "ace/mode/javascript",
});
document.body.appendChild(editor.container)
editor.container.style.height= "100px"
</script>
</body> |
Beta Was this translation helpful? Give feedback.
-
Ace loads other js when needed both for normal and minified versions. |
Beta Was this translation helpful? Give feedback.
They are linters which are loaded into web worker, and provide annotations on the gutter of the editor