web - api 💄

This commit is contained in:
Benjamin Pasero
2019-06-18 16:28:08 +02:00
parent b36f5a6fd1
commit b2ff724dcb
3 changed files with 8 additions and 19 deletions

View File

@@ -21,9 +21,8 @@
});
// @ts-ignore
require(['vs/workbench/workbench.web.api'], function () {
require(['vs/workbench/workbench.web.api'], function (api) {
// @ts-ignore
// eslint-disable-next-line no-undef
monaco.workbench.create(document.body, self.WORKBENCH_WEB_CONFIGURATION);
api.create(document.body, self.WORKBENCH_WEB_CONFIGURATION);
});
})();