Files
BitwiseCmd/src.old/js/app.js
Borys_Levytskyi de0dfba04f React boilerplate
2016-11-20 18:59:57 +02:00

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);