mirror of
https://github.com/jashkenas/coffeescript.git
synced 2022-11-09 12:23:24 -05:00
documentation waypoint
This commit is contained in:
parent
dcc70e5ab0
commit
c7fa9c320a
42 changed files with 1026 additions and 53 deletions
12
documentation/js/conditionals.js
Normal file
12
documentation/js/conditionals.js
Normal file
|
@ -0,0 +1,12 @@
|
|||
(function(){
|
||||
var mood;
|
||||
if (singing) {
|
||||
mood = greatly_improved;
|
||||
}
|
||||
if (happy && knows_it) {
|
||||
claps_hands();
|
||||
cha_cha_cha();
|
||||
}
|
||||
var date = friday ? sue : jill;
|
||||
expensive = expensive || do_the_math();
|
||||
})();
|
Loading…
Add table
Add a link
Reference in a new issue