first auth test working

This commit is contained in:
Jeena Paradies 2013-05-22 02:40:52 +02:00
parent 553462209b
commit 422dbd34ff
4 changed files with 140 additions and 71 deletions

View file

@ -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") {