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(); w.placeAt(document.body); w.load();