@difizen/libro-language-client 0.1.21 → 0.2.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.
|
@@ -189,7 +189,7 @@ export var LibroWorkspace = (_dec = singleton({
|
|
|
189
189
|
_createClass(LibroWorkspace, [{
|
|
190
190
|
key: "isValidNotebook",
|
|
191
191
|
value: function isValidNotebook(view) {
|
|
192
|
-
if (view.lspEnabled === true) {
|
|
192
|
+
if (view.model.lspEnabled === true) {
|
|
193
193
|
return true;
|
|
194
194
|
}
|
|
195
195
|
return false;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@difizen/libro-language-client",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"libro",
|
|
@@ -32,10 +32,10 @@
|
|
|
32
32
|
"src"
|
|
33
33
|
],
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@difizen/libro-core": "^0.
|
|
36
|
-
"@difizen/libro-kernel": "^0.
|
|
37
|
-
"@difizen/libro-common": "^0.
|
|
38
|
-
"@difizen/libro-lsp": "^0.
|
|
35
|
+
"@difizen/libro-core": "^0.2.0",
|
|
36
|
+
"@difizen/libro-kernel": "^0.2.0",
|
|
37
|
+
"@difizen/libro-common": "^0.2.0",
|
|
38
|
+
"@difizen/libro-lsp": "^0.2.0",
|
|
39
39
|
"@difizen/mana-app": "latest",
|
|
40
40
|
"@difizen/mana-common": "latest",
|
|
41
41
|
"uuid": "^9.0.0",
|
|
@@ -39,7 +39,7 @@ export class LibroWorkspace implements ILibroWorkspace {
|
|
|
39
39
|
@inject(LibroService) private readonly libroService: LibroService;
|
|
40
40
|
|
|
41
41
|
isValidNotebook(view: LibroView): boolean {
|
|
42
|
-
if ((view as any).lspEnabled === true) {
|
|
42
|
+
if ((view.model as any).lspEnabled === true) {
|
|
43
43
|
return true;
|
|
44
44
|
}
|
|
45
45
|
return false;
|