Skip to content

Commit bd786ad

Browse files
committed
make the code prettier
1 parent a5a942c commit bd786ad

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

packages/tree-extension/src/index.ts

+11-11
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,19 @@
33

44
import {
55
JupyterFrontEnd,
6-
JupyterFrontEndPlugin,
6+
JupyterFrontEndPlugin
77
} from '@jupyterlab/application';
88

99
import {
1010
IToolbarWidgetRegistry,
1111
createToolbarFactory,
12-
setToolbar,
12+
setToolbar
1313
} from '@jupyterlab/apputils';
1414

1515
import {
1616
IFileBrowserFactory,
1717
FileBrowser,
18-
Uploader,
18+
Uploader
1919
} from '@jupyterlab/filebrowser';
2020

2121
import { ISettingRegistry } from '@jupyterlab/settingregistry';
@@ -28,7 +28,7 @@ import {
2828
caretDownIcon,
2929
folderIcon,
3030
runningIcon,
31-
TabBarSvg,
31+
TabBarSvg
3232
} from '@jupyterlab/ui-components';
3333

3434
import { Menu, MenuBar, TabPanel } from '@lumino/widgets';
@@ -71,10 +71,10 @@ const createNew: JupyterFrontEndPlugin<void> = {
7171
'terminal:create-new',
7272
'console:create',
7373
'filebrowser:create-new-file',
74-
'filebrowser:create-new-directory',
74+
'filebrowser:create-new-directory'
7575
];
7676

77-
newCommands.forEach((command) => {
77+
newCommands.forEach(command => {
7878
newMenu.addItem({ command });
7979
});
8080

@@ -90,7 +90,7 @@ const createNew: JupyterFrontEndPlugin<void> = {
9090
}
9191
);
9292
}
93-
},
93+
}
9494
};
9595

9696
/**
@@ -102,7 +102,7 @@ const browserWidget: JupyterFrontEndPlugin<void> = {
102102
IFileBrowserFactory,
103103
ITranslator,
104104
ISettingRegistry,
105-
IToolbarWidgetRegistry,
105+
IToolbarWidgetRegistry
106106
],
107107
optional: [IRunningSessionManagers],
108108
autoStart: true,
@@ -117,7 +117,7 @@ const browserWidget: JupyterFrontEndPlugin<void> = {
117117
const tabPanel = new TabPanel({
118118
tabPlacement: 'top',
119119
tabsMovable: true,
120-
renderer: TabBarSvg.defaultRenderer,
120+
renderer: TabBarSvg.defaultRenderer
121121
});
122122
tabPanel.addClass('jp-TreePanel');
123123

@@ -140,7 +140,7 @@ const browserWidget: JupyterFrontEndPlugin<void> = {
140140
new Uploader({
141141
model: browser.model,
142142
translator,
143-
label: trans.__('Upload'),
143+
label: trans.__('Upload')
144144
})
145145
);
146146

@@ -178,7 +178,7 @@ const browserWidget: JupyterFrontEndPlugin<void> = {
178178
});
179179

180180
app.shell.add(tabPanel, 'main', { rank: 100 });
181-
},
181+
}
182182
};
183183

184184
/**

0 commit comments

Comments
 (0)