add packages

This commit is contained in:
Xuan Sang LE
2018-04-14 15:52:19 +00:00
parent 1d4957b4c5
commit 2d7acf3f35
21 changed files with 1222 additions and 0 deletions

14
About/coffees/main.coffee Normal file
View 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