diff options
| author | Jules Laplace <jules@okfoc.us> | 2015-11-08 19:32:08 -0500 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2015-11-08 19:32:19 -0500 |
| commit | 069e15c10ed10b45673c2365f78fe8918753f19d (patch) | |
| tree | b6e64d1f31f8c4390415efe186116479ef657fb9 /StoneIsland/www/js/sdk/account.js | |
| parent | aa23fc23b5a8cf43d115bcf3953806e66dadf1c3 (diff) | |
use jqxhr style callbacks
Diffstat (limited to 'StoneIsland/www/js/sdk/account.js')
| -rw-r--r-- | StoneIsland/www/js/sdk/account.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/StoneIsland/www/js/sdk/account.js b/StoneIsland/www/js/sdk/account.js index 3dfe2cfe..7e7eb3dc 100644 --- a/StoneIsland/www/js/sdk/account.js +++ b/StoneIsland/www/js/sdk/account.js @@ -5,7 +5,7 @@ sdk.account = (function(){ // https://gist.github.com/fanfare/d18498e7fa25acbd4486 var account = {} account.signup = function(opt){ - $.ajax({ + return $.ajax({ method: "POST", url: sdk.path("Account.API/1.5", "users.json"), headers: { @@ -26,7 +26,7 @@ sdk.account = (function(){ } account.login = function(opt){ - $.ajax({ + return $.ajax({ method: "POST", url: sdk.path("Account.API/1.5", "authfull.json"), headers: { |
