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:
parent
99deb8c670
commit
f52ef98cee
2 changed files with 2 additions and 2 deletions
2
README
2
README
|
@ -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
|
||||
|
|
|
@ -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()])
|
||||
|
||||
|
|
Loading…
Reference in a new issue