##// END OF EJS Templates
Movin the observable implementation to the class
Movin the observable implementation to the class

File last commit:

r134:f139e2153e0d v1.9.0-rc1 default
r153:8ae7abbb3114 default
Show More
main.ts
19 lines | 586 B | video/mp2t | TypeScriptLexer
import MainWidget from "./view/MainWidget";
import "@implab/djx/css!dojo/resources/dojo.css";
import "@implab/djx/css!dijit/themes/dijit.css";
import "@implab/djx/css!dijit/themes/tundra/tundra.css";
import { TraceSource } from "@implab/core-amd/log/TraceSource";
import { ConsoleLogger } from "@implab/core-amd/log/writers/ConsoleLogger";
const logger = new ConsoleLogger();
TraceSource.on(source => {
source.level = 400;
logger.writeEvents(source.events);
});
const w = new MainWidget();
document.body.className = 'tundra';
w.placeAt(document.body);
w.startup();
w.load();