 window.WD = window.WD or {}
 
-_showUsernamePrompt = (callback) ->
+_showUsernamePrompt = (callback, isRepeat = false) ->
   $el = $("
     <div class='username-prompt-container'>
       <form class='username-prompt'>

    false


WD.ensureUsername = (callback) ->
  if localStorage.getItem('username')
    fb.child(localStorage.getItem('username')).once 'value', (snapshot) ->
      unless snapshot.val()

            color: color
          localStorage.setItem('username', username)
          callback(username)
    _showUsernamePrompt(f, isRepeat)
