@dotglitch/ngx-common 1.0.34 → 1.0.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -10348,6 +10348,10 @@ class VscodeComponent {
|
|
|
10348
10348
|
installMonaco() {
|
|
10349
10349
|
if (VscodeComponent.isMonacoInstalled)
|
|
10350
10350
|
return;
|
|
10351
|
+
if (window['monaco']) {
|
|
10352
|
+
VscodeComponent.isMonacoInstalled = true;
|
|
10353
|
+
return;
|
|
10354
|
+
}
|
|
10351
10355
|
// Monaco has a UMD loader that requires this
|
|
10352
10356
|
// Merge with any pre-existing global require objects.
|
|
10353
10357
|
if (!window['require'])
|