Created
November 22, 2010 12:40
-
-
Save edoloughlin/709919 to your computer and use it in GitHub Desktop.
"unclosed INDENT" on second line
This file contains hidden or 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
| # Coffeescript gives an "unclosed INDENT" on the line 5 | |
| # API.login takes 4 args: two strings and two callback functions | |
| finishRegistrationCb (userDetails) -> | |
| API.login userDetails.email, passwordPlaintext | |
| (userSession) -> | |
| $.modal $.tempest('beta-registration-complete_dialog', { email, userDetails.email_addr } | |
| $('#continue-button').bind 'click', (event) -> | |
| window.location = '/' | |
| (error) -> |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've also tried changing the API.login call to use a comma after the passwordPlaintext arg but it still gives the same error.