MCPcopy Create free account
hub / github.com/ajaxorg/ace / constructor

Method constructor

src/ext/diff/split_diff_view.js:12–16  ·  view source on GitHub ↗

* Constructs a new side by side DiffView instance. * * @param {import("../diff").DiffModel} [diffModel] - The model for the diff view.

(diffModel)

Source from the content-addressed store, hash-verified

10 * @param {import("../diff").DiffModel} [diffModel] - The model for the diff view.
11 */
12 constructor(diffModel) {
13 diffModel = diffModel || {};
14 super();
15 this.init(diffModel);
16 }
17
18 init(diffModel) {
19 this.onChangeTheme = this.onChangeTheme.bind(this);

Callers

nothing calls this directly

Calls 1

initMethod · 0.95

Tested by

no test coverage detected