This commit is contained in:
Xuan Sang LE 2018-07-24 18:13:50 +02:00
parent 46cec340e2
commit 4378723fff
2 changed files with 3 additions and 2 deletions

View File

@ -166,7 +166,8 @@ self.OS.GUI =
#load css file #load css file
css = "#{path}/main.css" css = "#{path}/main.css"
css.asFileHandler().onready (d) -> css.asFileHandler().onready (d) ->
el = $ '<link>', { rel: 'stylesheet', type: 'text/css', 'href': "#{_API.handler.get}/#{css}" } stamp = (new Date).timestamp()
el = $ '<link>', { rel: 'stylesheet', type: 'text/css', 'href': "#{_API.handler.get}/#{css}?r=#{stamp}" }
.appendTo 'head' .appendTo 'head'
_OS.APP[app].style = el[0] if _OS.APP[app] _OS.APP[app].style = el[0] if _OS.APP[app]
ok app ok app

View File

@ -6,7 +6,7 @@
"author": "Xuan Sang LE", "author": "Xuan Sang LE",
"email": "xsang.le@gmail.com" "email": "xsang.le@gmail.com"
}, },
"version":"0.0.2-a", "version":"0.0.3-a",
"category":"System", "category":"System",
"iconclass":"fa fa-cubes", "iconclass":"fa fa-cubes",
"mimes":[ "mimes":[