##// END OF EJS Templates
Corrected Scope.own() to cleanup the supplied object immediately when the scope is disposed already
Corrected Scope.own() to cleanup the supplied object immediately when the scope is disposed already

File last commit:

r118:e07418577cbc v1.6.1 default
r131:c7d9ad82b374 v1.8.1 default
Show More
main.ts
17 lines | 537 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();
w.placeAt(document.body);
w.load();