Last active
August 29, 2015 14:13
-
-
Save gtyanchev/f3f6a382399f9af91bb4 to your computer and use it in GitHub Desktop.
pyramid_of_doom.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Users.login( | |
username, | |
password, | |
function () { | |
usersModel.load( | |
function () { | |
App.navigate('profile.html', | |
function () { | |
alert("You've logged in!"); | |
}, | |
function (err) { | |
showError(err.message); | |
}); | |
}, | |
function (err) { | |
showError(err.message); | |
}); | |
}, | |
function (err) { | |
showError(err.message); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment