Skip to content

Commit

Permalink
Remove modelDB from output area options.
Browse files Browse the repository at this point in the history
  • Loading branch information
ian-r-rose committed May 4, 2019
1 parent 94d9a3e commit e7774e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 15 deletions.
6 changes: 1 addition & 5 deletions packages/cells/src/model.ts
Expand Up @@ -469,11 +469,7 @@ export class CodeCellModel extends CellModel implements ICodeCellModel {
}
executionCount.changed.connect(this._onExecutionCountChanged, this);

this._outputs = factory.createOutputArea({
trusted,
values: outputs,
modelDB: this.modelDB
});
this._outputs = factory.createOutputArea({ trusted, values: outputs });
this._outputs.changed.connect(this.onGenericChange, this);

// We keep `collapsed` and `jupyter.outputs_hidden` metadata in sync, since
Expand Down
11 changes: 1 addition & 10 deletions packages/outputarea/src/model.ts
Expand Up @@ -9,11 +9,7 @@ import { ISignal, Signal } from '@phosphor/signaling';

import { nbformat } from '@jupyterlab/coreutils';

import {
IObservableList,
ObservableList,
IModelDB
} from '@jupyterlab/observables';
import { IObservableList, ObservableList } from '@jupyterlab/observables';

import { IOutputModel, OutputModel } from '@jupyterlab/rendermime';

Expand Down Expand Up @@ -110,11 +106,6 @@ export namespace IOutputAreaModel {
* If not given, a default factory will be used.
*/
contentFactory?: IContentFactory;

/**
* An optional IModelDB to store the output area model.
*/
modelDB?: IModelDB;
}

/**
Expand Down

0 comments on commit e7774e9

Please sign in to comment.