mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-02 22:41:31 +01:00
Simplify the loading of the loader in the renderer processes
This commit is contained in:
@@ -7,14 +7,6 @@
|
||||
|
||||
const bootstrapWindow = require('../../../../bootstrap-window');
|
||||
|
||||
bootstrapWindow.load(['vs/code/electron-browser/processExplorer/processExplorerMain'],
|
||||
|
||||
function (loaderFilename, loaderSource, clb) {
|
||||
require('vm').runInThisContext(loaderSource, { filename: loaderFilename });
|
||||
|
||||
clb(require);
|
||||
},
|
||||
|
||||
function (processExplorer, configuration) {
|
||||
processExplorer.startup(configuration.data);
|
||||
});
|
||||
bootstrapWindow.load(['vs/code/electron-browser/processExplorer/processExplorerMain'], function (processExplorer, configuration) {
|
||||
processExplorer.startup(configuration.data);
|
||||
});
|
||||
Reference in New Issue
Block a user