@@ -55,7 +55,7 @@ the kernel) is started with these lines:
55
55
this ._sessionContext = new SessionContext ({
56
56
sessionManager: manager .sessions ,
57
57
specsManager: manager .kernelspecs ,
58
- name: ' Kernel Output' ,
58
+ name: ' Kernel Output'
59
59
});
60
60
```
61
61
@@ -129,7 +129,7 @@ the data to show:
129
129
this ._outputareamodel = new OutputAreaModel ();
130
130
this ._outputarea = new SimplifiedOutputArea ({
131
131
model: this ._outputareamodel ,
132
- rendermime: rendermime ,
132
+ rendermime: rendermime
133
133
});
134
134
```
135
135
@@ -188,7 +188,7 @@ on a list:
188
188
// src/index.ts#L110-L114
189
189
190
190
// add items in command palette and menu
191
- [CommandIDs .create , CommandIDs .execute ].forEach (( command ) => {
191
+ [CommandIDs .create , CommandIDs .execute ].forEach (command => {
192
192
palette .addItem ({ command , category });
193
193
exampleMenu .addItem ({ command });
194
194
});
@@ -245,14 +245,14 @@ commands.addCommand(CommandIDs.execute, {
245
245
const input = await InputDialog .getText ({
246
246
title: trans .__ (' Code to execute' ),
247
247
okLabel: trans .__ (' Execute' ),
248
- placeholder: trans .__ (' Statement to execute' ),
248
+ placeholder: trans .__ (' Statement to execute' )
249
249
});
250
250
// Execute the statement
251
251
if (input .button .accept ) {
252
252
const code = input .value ;
253
253
panel .execute (code );
254
254
}
255
- },
255
+ }
256
256
});
257
257
```
258
258
0 commit comments