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:
parent
9976de76f5
commit
6050cad0f8
5 changed files with 381 additions and 9 deletions
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue