mirror of
https://github.com/antos-rde/antosdk-apps.git
synced 2025-07-13 14:14:27 +02:00
add packages
This commit is contained in:
14
About/coffees/main.coffee
Normal file
14
About/coffees/main.coffee
Normal file
@ -0,0 +1,14 @@
|
||||
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
|
Reference in New Issue
Block a user