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

Removing unnecessary parens and removing the sudo recommendation for npm in the readme.

This commit is contained in:
Timothy Jones 2010-10-24 23:45:47 +13:00
parent 99deb8c670
commit f52ef98cee
2 changed files with 2 additions and 2 deletions

2
README
View file

@ -26,7 +26,7 @@
sudo bin/cake install
Or, if you have the Node Package Manager installed:
sudo npm install coffee-script
npm install coffee-script
Compile a script:
coffee /path/to/script.coffee

View file

@ -1460,7 +1460,7 @@ exports.If = class If extends Base
Push =
wrap: (name, expressions) ->
return expressions if expressions.empty() or
(last(expressions.expressions)).containsPureStatement()
last(expressions.expressions).containsPureStatement()
expressions.push new Call(new Value new Literal(name), [new Accessor new Literal 'push']
[expressions.pop()])