mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-02 06:21:50 +01:00
web - introduce browser environment service
Hello first commit from browser :)
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
|
||||
<!-- Window Configuration from Server -->
|
||||
<script>
|
||||
self.WINDOW_CONFIGURATION = {
|
||||
self.WORKBENCH_WEB_CONFIGURATION = {
|
||||
connectionAuthToken: '{{CONNECTION_AUTH_TOKEN}}',
|
||||
folderUri: '{{FOLDER}}',
|
||||
workspaceUri: '{{WORKSPACE}}',
|
||||
|
||||
@@ -24,6 +24,6 @@
|
||||
require(['vs/workbench/workbench.web.api'], function () {
|
||||
// @ts-ignore
|
||||
// eslint-disable-next-line no-undef
|
||||
monaco.workbench.create(document.body, self.WINDOW_CONFIGURATION);
|
||||
monaco.workbench.create(document.body, self.WORKBENCH_WEB_CONFIGURATION);
|
||||
});
|
||||
})();
|
||||
Reference in New Issue
Block a user