@huawei-ide/codearts 1.0.46 → 1.0.48
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 +2 -2
- package/index.js +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
package/index.js
CHANGED
|
@@ -8,7 +8,7 @@ if (window.location.origin.endsWith('.net')) {
|
|
|
8
8
|
}
|
|
9
9
|
const iframe = document.createElement('iframe');
|
|
10
10
|
iframe.id = 'codeartside';
|
|
11
|
-
iframe.src = hcOrigin + '/codearts-core-web-static/1.0.
|
|
11
|
+
iframe.src = hcOrigin + '/codearts-core-web-static/1.0.80/resources/server/gitcode.html';
|
|
12
12
|
|
|
13
13
|
const OS = getOS();
|
|
14
14
|
const ON_DID_CHANGE = 'onDidChange';
|
|
@@ -191,10 +191,10 @@ export function registerCodeOperation(options) {
|
|
|
191
191
|
postMessage(message);
|
|
192
192
|
}
|
|
193
193
|
|
|
194
|
-
export function
|
|
194
|
+
export function blockClickedLink(block) {
|
|
195
195
|
const message = {
|
|
196
|
-
type: '
|
|
197
|
-
data:
|
|
196
|
+
type: 'blockClickedLink',
|
|
197
|
+
data: block
|
|
198
198
|
};
|
|
199
199
|
postMessage(message);
|
|
200
200
|
}
|