when with line continuations
HTML
<p id="display"></p>
CoffeeScript
name = 'Jill'
switch name
when 'Jill'
$('#display').text 'Hi!'
else
$('#display').text 'Bye!'
<p id="display"></p>
name = 'Jill'
switch name
when 'Jill'
$('#display').text 'Hi!'
else
$('#display').text 'Bye!'