mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 10:25:42 +01:00
Fixes #922
This commit is contained in:
parent
b04ceadff2
commit
1fcd19be1c
1 changed files with 1 additions and 1 deletions
|
|
@ -190,7 +190,7 @@ function addPluginContribs(type) {
|
|||
extraContent.push(contribContents);
|
||||
});
|
||||
|
||||
extraContent.push(`define("vs/editor/editor.main", ["vs/editor/edcore.main","${allPluginsModuleIds.join('","')}"], function() {});`);
|
||||
extraContent.push(`define("vs/editor/editor.main", ["vs/editor/edcore.main","${allPluginsModuleIds.join('","')}"], function(api) { return api; });`);
|
||||
var insertIndex = contents.lastIndexOf('//# sourceMappingURL=');
|
||||
if (insertIndex === -1) {
|
||||
insertIndex = contents.length;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue