mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 16:15:41 +01:00
Adopt latest monaco-editor-core
This commit is contained in:
parent
ecfce903c4
commit
e294277b7e
4 changed files with 24 additions and 1 deletions
|
|
@ -4,6 +4,8 @@ var jsdom = require('jsdom-no-contextify');
|
|||
requirejs.config({
|
||||
baseUrl: '',
|
||||
paths: {
|
||||
'vs/css': 'test/css.mock',
|
||||
'vs/nls': 'test/nls.mock',
|
||||
// 'vs': '../vscode/out/vs'
|
||||
'vs': 'node_modules/monaco-editor-core/dev/vs'
|
||||
},
|
||||
|
|
@ -15,6 +17,7 @@ global.document.queryCommandSupported = function() {};
|
|||
global.self = global.window = global.document.parentWindow;
|
||||
global.navigator = global.window.navigator;
|
||||
global.window.require = requirejs;
|
||||
global.doNotInitLoader = true;
|
||||
|
||||
function MyWorker() {}
|
||||
MyWorker.prototype.postMessage = function() {};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue