first auth test working
This commit is contained in:
parent
553462209b
commit
422dbd34ff
4 changed files with 140 additions and 71 deletions
|
@ -37,6 +37,14 @@ define(function() {
|
|||
}
|
||||
}
|
||||
|
||||
HostApp.setServerUrls = function(server_urls) {
|
||||
HostApp.setStringForKey(JSON.stringify(server_urls), "server_urls");
|
||||
}
|
||||
|
||||
HostApp.serverUrl = function(key) {
|
||||
return JSON.parse(HostApp.stringForKey("server_urls"))[key];
|
||||
}
|
||||
|
||||
HostApp.openURL = function(url) {
|
||||
|
||||
if (OS_TYPE == "mac") {
|
||||
|
|
Reference in a new issue