mirror of
https://github.com/antos-rde/antosdk-apps.git
synced 2024-11-17 18:58:24 +01:00
14 lines
440 B
CoffeeScript
14 lines
440 B
CoffeeScript
|
class About extends this.OS.GUI.BaseApplication
|
||
|
constructor: ( args ) ->
|
||
|
super "About", args
|
||
|
|
||
|
main: () ->
|
||
|
me = @
|
||
|
@container = @find "container"
|
||
|
"os://README.md".asFileHandler().read (txt) ->
|
||
|
converter = new showdown.Converter()
|
||
|
($ me.container).html converter.makeHtml txt
|
||
|
|
||
|
About.singleton = true
|
||
|
About.dependencies = [ "showdown.min" ]
|
||
|
this.OS.register "About", About
|