File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -56,10 +56,10 @@ export class ButtonExtension
56
56
panel : NotebookPanel ,
57
57
context : DocumentRegistry .IContext <INotebookModel >
58
58
): IDisposable {
59
- let clearOutput = () => {
59
+ const clearOutput = () => {
60
60
NotebookActions .clearAllOutputs (panel .content );
61
61
};
62
- let button = new ToolbarButton ({
62
+ const button = new ToolbarButton ({
63
63
className: ' clear-output-button' ,
64
64
label: ' Clear All Outputs' ,
65
65
onClick: clearOutput ,
Original file line number Diff line number Diff line change @@ -36,10 +36,10 @@ export class ButtonExtension
36
36
panel : NotebookPanel ,
37
37
context : DocumentRegistry . IContext < INotebookModel >
38
38
) : IDisposable {
39
- let clearOutput = ( ) => {
39
+ const clearOutput = ( ) => {
40
40
NotebookActions . clearAllOutputs ( panel . content ) ;
41
41
} ;
42
- let button = new ToolbarButton ( {
42
+ const button = new ToolbarButton ( {
43
43
className : 'clear-output-button' ,
44
44
label : 'Clear All Outputs' ,
45
45
onClick : clearOutput ,
You can’t perform that action at this time.
0 commit comments