Commit 67560550 authored by Jérome Perrin's avatar Jérome Perrin

customize for monaco-editor-json

 * just build a library that does not create an editor
 * set a name in package json
parent a956d58b
......@@ -17,12 +17,3 @@ self.MonacoEnvironment = {
return './editor.worker.bundle.js';
}
}
monaco.editor.create(document.getElementById('container'), {
value: [
'function x() {',
'\tconsole.log("Hello world!");',
'}'
].join('\n'),
language: 'javascript'
});
{
"name": "helloworld",
"name": "monaco-editor-erp5",
"dependencies": {},
"devDependencies": {
"css-loader": "^0.28.11",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment