Skip to content

Instantly share code, notes, and snippets.

@edoloughlin
Created November 22, 2010 12:40
Show Gist options
  • Select an option

  • Save edoloughlin/709919 to your computer and use it in GitHub Desktop.

Select an option

Save edoloughlin/709919 to your computer and use it in GitHub Desktop.
"unclosed INDENT" on second line
# 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) ->
@edoloughlin
Copy link
Author

I've also tried changing the API.login call to use a comma after the passwordPlaintext arg but it still gives the same error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment