mirror of
https://github.com/BorysLevytskyi/BitwiseCmd.git
synced 2025-12-10 06:52:05 +01:00
23 lines
474 B
JavaScript
23 lines
474 B
JavaScript
(function (core) {
|
|
"use strict";
|
|
|
|
var di = new core.Container();
|
|
|
|
var app = new core.AppShell(di);
|
|
|
|
app.set('cmdConfig', core.ObservableObject.create({
|
|
emphasizeBytes: true,
|
|
theme: 'dark'
|
|
}));
|
|
|
|
app.debugMode = false;
|
|
|
|
app.bootstrap = function(rootViewElement) {
|
|
this.rootViewElement = rootViewElement;
|
|
this.set('rootView', rootViewElement)
|
|
this.initialize();
|
|
};
|
|
|
|
window.app = app;
|
|
|
|
})(window.core); |