Skip to content

Commit aad7557

Browse files
committed
Fix handling of the codemirror extension
1 parent 77d547e commit aad7557

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

app/index.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ async function main() {
9595
require('@jupyterlab/codemirror-extension').default.filter(({ id }) =>
9696
[
9797
'@jupyterlab/codemirror-extension:services',
98-
'@jupyterlab/codemirror-extension:codemirror'
98+
'@jupyterlab/codemirror-extension:commands'
9999
].includes(id)
100100
),
101101
require('@jupyterlab/completer-extension').default.filter(({ id }) =>
@@ -226,9 +226,6 @@ async function main() {
226226
}
227227
case 'edit': {
228228
baseMods = baseMods.concat([
229-
require('@jupyterlab/codemirror-extension').default.filter(({ id }) =>
230-
['@jupyterlab/codemirror-extension:commands'].includes(id)
231-
),
232229
require('@jupyterlab/fileeditor-extension').default.filter(({ id }) =>
233230
[
234231
'@jupyterlab/fileeditor-extension:completer',

app/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
"@jupyterlab/celltags": "~4.0.0-alpha.15",
3232
"@jupyterlab/celltags-extension": "~4.0.0-alpha.15",
3333
"@jupyterlab/codeeditor": "~4.0.0-alpha.15",
34+
"@jupyterlab/codemirror": "~4.0.0-alpha.15",
3435
"@jupyterlab/codemirror-extension": "~4.0.0-alpha.15",
3536
"@jupyterlab/collaboration": "~4.0.0-alpha.15",
3637
"@jupyterlab/collaboration-extension": "~4.0.0-alpha.15",

0 commit comments

Comments
 (0)