1
0
Fork 0
mirror of https://github.com/jashkenas/coffeescript.git synced 2022-11-09 12:23:24 -05:00

moved the TextMate bundle into the gem, added a command to install it

This commit is contained in:
Jeremy Ashkenas 2009-12-17 21:46:12 -05:00
parent 9976de76f5
commit 6050cad0f8
5 changed files with 381 additions and 9 deletions

View file

@ -59,7 +59,7 @@ race: =>
if tired then return sleep().
race().
# Conditional operators:
# Conditional assignment:
good ||= evil
wine &&= cheese
@ -143,11 +143,11 @@ Exclaimer.prototype.hello: => super(this.name + "!"). # The child's "hello" c
(new Exclaimer('Bob')).hello() # Run it.
# Numbers.
a_googol: 1e100
hex: 0xff0000
negative: -1.0
a_googol: 1e100
hex: 0xff0000
negative: -1.0
infinity: Infinity
nan: NaN
# Deleting.
delete secret.identity