AntOSDK first working version, now application can be built from browser

This commit is contained in:
Xuan Sang LE
2018-03-20 13:07:23 +01:00
parent 09f72fd436
commit f89c71e2b3
13 changed files with 187 additions and 43 deletions

View File

@ -90,5 +90,4 @@ RepositoryDialog.scheme = """
</div>
</afx-vbox>
</afx-app-window>
"""
this.OS.register "RepositoryDialog", RepositoryDialog
"""

View File

@ -52,7 +52,7 @@ class MarketPlace extends this.OS.GUI.BaseApplication
@btremove.set "onbtclick", (e) ->
me.uninstall e
@bindKey "CTRL-R", () ->
me.openDialog "RepositoryDialog"
me.openDialog new RepositoryDialog()
fetchApps: (url) ->
me = @
@_api.get url, ( d ) ->
@ -93,7 +93,7 @@ class MarketPlace extends this.OS.GUI.BaseApplication
{ text: "__(Options)", child: [
{ text: "__(Repositories)", shortcut: "C-R" }
] , onmenuselect: (e) ->
me.openDialog "RepositoryDialog"
me.openDialog new RepositoryDialog()
}
]