Skip to content

Commit f496b20

Browse files
committed
Clean codebase
1 parent a83f4c6 commit f496b20

File tree

2 files changed

+1
-19
lines changed

2 files changed

+1
-19
lines changed

package.json

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,9 @@
4949
"@jupyterlab/nbformat": "^2.1.0",
5050
"@jupyterlab/notebook": "^2.1.2",
5151
"@jupyterlab/rendermime": "^2.1.1",
52-
<<<<<<< HEAD
5352
"@jupyterlab/services": "^5.0.0",
5453
"@lumino/algorithm": "^1.3.2",
5554
"@lumino/dragdrop": "^1.6.2",
56-
=======
57-
"@lumino/algorithm": "^1.3.2",
58-
"@lumino/dragdrop": "^1.6.2",
59-
"@jupyterlab/services": "^5.0.0",
60-
>>>>>>> Add linting code in package.json
6155
"@lumino/messaging": "^1.4.2",
6256
"@lumino/properties": "^1.2.2",
6357
"@lumino/signaling": "^1.4.2",

src/CodeSnippetWidget.tsx

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import {
2727
Dialog,
2828
showDialog
2929
} from '@jupyterlab/apputils';
30-
import { Cell, CodeCell, MarkdownCell } from '@jupyterlab/cells';
30+
import { CodeCell, MarkdownCell } from '@jupyterlab/cells';
3131
import { CodeEditor } from '@jupyterlab/codeeditor';
3232
import { PathExt } from '@jupyterlab/coreutils';
3333
import { IDocumentManager } from '@jupyterlab/docmanager';
@@ -39,7 +39,6 @@ import { copyIcon, addIcon, closeIcon } from '@jupyterlab/ui-components';
3939
import { Message } from '@lumino/messaging';
4040
import { Signal } from '@lumino/signaling';
4141
import { Widget, PanelLayout } from '@lumino/widgets';
42-
import { AttachedProperty } from '@lumino/properties';
4342

4443
import { IDragEvent } from '@lumino/dragdrop';
4544
import { MimeData } from '@lumino/coreutils';
@@ -65,11 +64,6 @@ const CODE_SNIPPET_ITEM = 'elyra-codeSnippet-item';
6564
*/
6665
const DROP_TARGET_CLASS = 'jp-mod-dropTarget';
6766

68-
/**
69-
* The class name added to notebook widget cells.
70-
*/
71-
// const NB_CELL_CLASS = 'jp-Notebook-cell';
72-
7367
/**
7468
* CodeSnippetDisplay props.
7569
*/
@@ -455,7 +449,6 @@ export class CodeSnippetWidget extends ReactWidget {
455449
}
456450

457451
render(): React.ReactElement {
458-
console.log('widget rendering');
459452
return (
460453
<div className={CODE_SNIPPETS_CLASS}>
461454
<header className={CODE_SNIPPETS_HEADER_CLASS}>
@@ -488,11 +481,6 @@ namespace Private {
488481
const data = mime.getData('text/plain');
489482
return data;
490483
}
491-
492-
export const selectedProperty = new AttachedProperty<Cell, boolean>({
493-
name: 'selected',
494-
create: () => false
495-
});
496484

497485
/**
498486
* A custom panel layout for the notebook.

0 commit comments

Comments
 (0)