Skip to content

Commit

Permalink
Remove unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
martinRenou committed Sep 11, 2023
1 parent 9aaacd2 commit 71776da
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions packages/base/src/widget.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,6 @@ import { KernelMessage } from '@jupyterlab/services';
*/
const IPY_MODEL_ = 'IPY_MODEL_';

/**
* A best-effort method for performing deep copies.
*/
const deepcopyJSON = (x: JSONValue) => JSON.parse(JSON.stringify(x));

const deepcopy = globalThis.structuredClone || deepcopyJSON;

/**
* Replace model ids with models recursively.
Expand Down

0 comments on commit 71776da

Please sign in to comment.