Skip to content

Commit

Permalink
polish
Browse files Browse the repository at this point in the history
  • Loading branch information
aeschli committed Sep 4, 2024
1 parent bcc4d0d commit c63902f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/browser/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
///<amd-module name='vscode-browser-main'/>
///<amd-module name='vscode-web-browser-main'/>

import { create, IWorkspaceProvider, IWorkbenchConstructionOptions, UriComponents, IWorkspace, URI, IURLCallbackProvider, Emitter, IDisposable} from './workbench.api';

Expand Down
4 changes: 2 additions & 2 deletions src/server/workbench.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@ class Workbench {
}
return lines.join('\n');
} else {
let workbenchMain = await readFileInRepo(`out/browser/amd/main.js`); // defines a AMD module `vscode-browser-main`
let workbenchMain = await readFileInRepo(`out/browser/amd/main.js`); // defines a AMD module `vscode-web-browser-main`
workbenchMain = workbenchMain.replace('./workbench.api', `vs/workbench/workbench.web.main`);
workbenchMain = workbenchMain + '\nrequire(["vscode-browser-main"], function() { });';
workbenchMain = workbenchMain + '\nrequire(["vscode-web-browser-main"], function() { });';
if (this.dev) {

} else {
Expand Down

0 comments on commit c63902f

Please sign in to comment.