PageRenderTime 5ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 2ms app.codeStats 0ms

/documentation/coffee/conditionals.coffee

http://github.com/jashkenas/coffee-script
CoffeeScript | 9 lines | 7 code | 2 blank | 0 comment | 4 complexity | 02d3f41e0bbd8841fe64d6d69086aa4b MD5 | raw file
1mood = greatlyImproved if singing
2
3if happy and knowsIt
4  clapsHands()
5  chaChaCha()
6else
7  showIt()
8
9date = if friday then sue else jill