##// END OF EJS Templates
added observable.collect() method to collect a sequnce to the array...
added observable.collect() method to collect a sequnce to the array added support for Promises to of(...) function

File last commit:

r118:e07418577cbc v1.6.1 default
r129:66546e709732 v1.8.0 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();