antosdk-apps/About/build/debug/main.js

29 lines
582 B
JavaScript
Raw Normal View History

2018-04-14 17:52:19 +02:00
(function() {
var About;
About = class About extends this.OS.GUI.BaseApplication {
constructor(args) {
super("About", args);
}
main() {
var me;
me = this;
this.container = this.find("container");
return "os://README.md".asFileHandler().read(function(txt) {
var converter;
converter = new showdown.Converter();
return ($(me.container)).html(converter.makeHtml(txt));
});
}
};
About.singleton = true;
About.dependencies = ["showdown.min"];
this.OS.register("About", About);
}).call(this);