@codingame/monaco-vscode-walkthrough-service-override 38.0.1 → 38.0.3
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/package.json +2 -2
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.js +1 -1
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedService.js +1 -1
- package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/walkThroughPart.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-walkthrough-service-override",
|
|
3
|
-
"version": "38.0.
|
|
3
|
+
"version": "38.0.3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "VSCode public API plugged on the monaco editor - walkthrough service-override",
|
|
6
6
|
"keywords": [],
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
},
|
|
16
16
|
"type": "module",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@codingame/monaco-vscode-api": "38.0.
|
|
18
|
+
"@codingame/monaco-vscode-api": "38.0.3",
|
|
19
19
|
"marked": "14.0.0"
|
|
20
20
|
},
|
|
21
21
|
"main": "index.js",
|
|
@@ -718,7 +718,7 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
|
|
|
718
718
|
});
|
|
719
719
|
}
|
|
720
720
|
}));
|
|
721
|
-
if (rawHTML.indexOf("<code>") >= 0) {
|
|
721
|
+
if (( rawHTML.indexOf("<code>")) >= 0) {
|
|
722
722
|
this.stepDisposables.add(this.themeService.onDidColorThemeChange(async () => {
|
|
723
723
|
const body = await this.detailsRenderer.renderMarkdown(media.path, media.base);
|
|
724
724
|
if (!isDisposed) {
|
package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedService.js
CHANGED
|
@@ -523,7 +523,7 @@ let WalkthroughsService = class WalkthroughsService extends Disposable {
|
|
|
523
523
|
}
|
|
524
524
|
) => {
|
|
525
525
|
if (href.startsWith("command:")) {
|
|
526
|
-
return "onCommand:" + href.slice("command:".length, href.includes("?") ? href.indexOf("?") : undefined);
|
|
526
|
+
return "onCommand:" + href.slice("command:".length, href.includes("?") ? ( href.indexOf("?")) : undefined);
|
|
527
527
|
}
|
|
528
528
|
if (href.startsWith("https://") || href.startsWith("http://")) {
|
|
529
529
|
return "onLink:" + href;
|
|
@@ -150,7 +150,7 @@ let WalkThroughPart = class WalkThroughPart extends EditorPane {
|
|
|
150
150
|
for (let node = event.target; node; node = node.parentNode) {
|
|
151
151
|
if (isHTMLAnchorElement(node) && node.href) {
|
|
152
152
|
const baseElement = node.getRootNode().querySelector("base") || this.window.location;
|
|
153
|
-
if (baseElement && node.href.indexOf(baseElement.href) >= 0 && node.hash) {
|
|
153
|
+
if (baseElement && ( node.href.indexOf(baseElement.href)) >= 0 && node.hash) {
|
|
154
154
|
const scrollTarget = this.content.querySelector(node.hash);
|
|
155
155
|
const innerContent = this.content.firstElementChild;
|
|
156
156
|
if (scrollTarget && innerContent) {
|