MCPcopy
hub / github.com/wellsjo/JSON-Splora / constructor

Method constructor

app/js/App.js:24–30  ·  view source on GitHub ↗

* Start application * * @param {Element} document The html document * @param {Object} settings Application settings coming from electron-config

(document, settings)

Source from the content-addressed store, hash-verified

22 */
23
24 constructor(document, settings) {
25 this.document = document
26 this.settings = settings
27 const theme = settings.get('theme')
28 const rootEl = this.document.querySelector('#tabs')
29 this.tabs = new Tabs(rootEl, theme)
30 }
31
32 /**
33 * Set theme for each page

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected