@codingame/monaco-vscode-api 1.78.0-next.1 → 1.78.0
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.
- package/README.md +0 -1
- package/dist/polyfill.js +2 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -240,6 +240,5 @@ This approach has some disadvantages:
|
|
|
240
240
|
With this library, it would be possible to plug vscode-languageclient directly on top of monaco, monaco-languageclient still helps to do so by:
|
|
241
241
|
|
|
242
242
|
- Adding some tweaks to the VSCode LanguageClient (Removing unsupported features...)
|
|
243
|
-
- Providing a default implementations of the required fallback services (`vscode/services`)
|
|
244
243
|
- Providing some examples on how to build an app using it
|
|
245
244
|
- Adding some tools (DisposableCollection)
|
package/dist/polyfill.js
CHANGED
|
@@ -2801,7 +2801,8 @@ function registerAssets(assets) {
|
|
|
2801
2801
|
};
|
|
2802
2802
|
}
|
|
2803
2803
|
function toUrl(name) {
|
|
2804
|
-
|
|
2804
|
+
const url = assetUrls[name] ?? assetUrls[name.replace(/[/.]/g, '_')];
|
|
2805
|
+
return ( new URL(url, window.location.href).toString());
|
|
2805
2806
|
}
|
|
2806
2807
|
const customRequire = {
|
|
2807
2808
|
toUrl
|