jashkenas / coffeescript

Unfancy JavaScript
https://coffeescript.org/
MIT License
16.49k stars 1.98k forks source link

(syntax) creating object literals in arrays doesn't work by indenting #888

Closed pschyska closed 13 years ago

pschyska commented 13 years ago

First, thank you for this great little language! It really made me want to try ssjs :-) If have the following piece of code: https://gist.github.com/724454 I find the need to use brackets and curly braces really annoying here. I would love to be able to write it like in the second gist.

What do you think?

Thanks,

Paul

pschyska commented 13 years ago

pastefail https://gist.github.com/724454

pschyska commented 13 years ago

duplicate