diff --git a/About/README.md b/About/README.md index 86fc78e..291e6b3 100644 --- a/About/README.md +++ b/About/README.md @@ -5,6 +5,9 @@ It is used to show the change logs of the current AntOS version ## Change logs +### v0.0.6-a +* Use README page available on github + ### v0.0.5-a * Fix cotent padding is not correct on some browsers diff --git a/About/assets/project.json b/About/assets/project.json deleted file mode 100644 index e69de29..0000000 diff --git a/About/build/debug/README.md b/About/build/debug/README.md index 86fc78e..291e6b3 100644 --- a/About/build/debug/README.md +++ b/About/build/debug/README.md @@ -5,6 +5,9 @@ It is used to show the change logs of the current AntOS version ## Change logs +### v0.0.6-a +* Use README page available on github + ### v0.0.5-a * Fix cotent padding is not correct on some browsers diff --git a/About/build/debug/main.css b/About/build/debug/main.css index dff9742..fbfdac0 100644 --- a/About/build/debug/main.css +++ b/About/build/debug/main.css @@ -13,4 +13,9 @@ afx-app-window[data-id = "About"] afx-hbox[data-id="wrapper"] afx-app-window[data-id = "About"] div[data-id="container"] { text-align: justify; +} + +afx-app-window[data-id = "About"] img +{ + max-width: 100%; } \ No newline at end of file diff --git a/About/build/debug/main.js b/About/build/debug/main.js index ad1fcfa..08ab2a9 100644 --- a/About/build/debug/main.js +++ b/About/build/debug/main.js @@ -1,34 +1 @@ -(function() { - var About; - - About = class About extends this.OS.application.BaseApplication { - constructor(args) { - super("About", args); - } - - main() { - var me, path; - me = this; - this.container = this.find("container"); - path = "os://README.md"; - path.asFileHandle().read().then(function(txt) { - var converter; - converter = new showdown.Converter(); - return ($(me.container)).html(converter.makeHtml(txt)); - }).catch(() => { - return this.notify(__("Unable to read: {0}", path)); - }); - return this.find("btnclose").onbtclick = () => { - return this.quit(); - }; - } - - }; - - About.singleton = true; - - About.dependencies = ["os://scripts/showdown.min.js"]; - - this.OS.register("About", About); - -}).call(this); +(function(){var t;(t=class extends this.OS.application.BaseApplication{constructor(t){super("About",t)}main(){var t,n;return t=this,this.container=this.find("container"),(n="https://raw.githubusercontent.com/lxsang/antos/master/README.md").asFileHandle().read().then((function(n){var i;return i=new showdown.Converter,$(t.container).html(i.makeHtml(n))})).catch(()=>this.notify(__("Unable to read: {0}",n))),this.find("btnclose").onbtclick=()=>this.quit()}}).singleton=!0,t.dependencies=["os://scripts/showdown.min.js"],this.OS.register("About",t)}).call(this); \ No newline at end of file diff --git a/About/build/debug/package.json b/About/build/debug/package.json index 2c7471f..6e634e4 100644 --- a/About/build/debug/package.json +++ b/About/build/debug/package.json @@ -6,7 +6,7 @@ "author": "Xuan Sang LE", "email": "xsang.le@gmail.com" }, - "version":"0.0.5-a", + "version":"0.0.6-a", "category":"Other", "iconclass":"fa fa-question-circle", "mimes":["none"], diff --git a/About/build/release/About.zip b/About/build/release/About.zip index 6e6a2d1..b04fdb6 100644 Binary files a/About/build/release/About.zip and b/About/build/release/About.zip differ diff --git a/About/coffees/main.coffee b/About/coffees/main.coffee index 11941c3..eeeac16 100644 --- a/About/coffees/main.coffee +++ b/About/coffees/main.coffee @@ -5,7 +5,7 @@ class About extends this.OS.application.BaseApplication main: () -> me = @ @container = @find "container" - path = "os://README.md" + path = "https://raw.githubusercontent.com/lxsang/antos/master/README.md" path.asFileHandle() .read() .then (txt) -> diff --git a/About/css/main.css b/About/css/main.css index a79510f..d9c2682 100644 --- a/About/css/main.css +++ b/About/css/main.css @@ -12,4 +12,9 @@ afx-app-window[data-id = "About"] afx-hbox[data-id="wrapper"] afx-app-window[data-id = "About"] div[data-id="container"] { text-align: justify; +} + +afx-app-window[data-id = "About"] img +{ + max-width: 100%; } \ No newline at end of file diff --git a/About/package.json b/About/package.json index 2c7471f..6e634e4 100644 --- a/About/package.json +++ b/About/package.json @@ -6,7 +6,7 @@ "author": "Xuan Sang LE", "email": "xsang.le@gmail.com" }, - "version":"0.0.5-a", + "version":"0.0.6-a", "category":"Other", "iconclass":"fa fa-question-circle", "mimes":["none"], diff --git a/packages.json b/packages.json index 9e481c1..76f734d 100644 --- a/packages.json +++ b/packages.json @@ -5,7 +5,7 @@ "description": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/About/README.md", "category": "Other", "author": "Xuan Sang LE", - "version": "0.0.5-a", + "version": "0.0.6-a", "dependencies": [], "download": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/About/build/release/About.zip" },