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

Method constructor

app/js/system/MainMenu.js:19–26  ·  view source on GitHub ↗

* Create the main menu for the given app

(app, settings)

Source from the content-addressed store, hash-verified

17 */
18
19 constructor(app, settings) {
20 this.app = app
21 this.settings = settings
22 const template = this.createTemplate()
23
24 // Finally, build menu
25 Menu.setApplicationMenu(Menu.buildFromTemplate(template))
26 }
27
28 /**
29 * Callback for when theme button is clicked.

Callers

nothing calls this directly

Calls 1

createTemplateMethod · 0.95

Tested by

no test coverage detected