Simon Lydell
6c6c8d48bf
Ensure that all source files end with a single \n
...
This was done by first checking all files in the repository root by hand, and
then by doing the following:
$ npm i get-stdin@4
$ cat clean.coffee
fs = require 'fs'
stdin = require 'get-stdin'
stdin (text) ->
for file in text.trim().split('\n')
contents = fs.readFileSync file
.toString().replace /\s*$/, '\n'
fs.writeFileSync file, contents
return
$ ls !(node_modules)/**/*.coffee | coffee clean.coffee
2015-09-03 19:20:12 +02:00
xixixao
b859d92d2c
Back to non-naked constructor, @, preincrement, comprehension bracketing, idioms: calls, comprehensions, interpolations
2013-12-09 22:28:34 +00:00
Michael Ficarra
94a9551ffa
fixes #1699
2011-09-18 00:52:30 -03:00
Jeremy Ashkenas
8fcd67e82f
Updating examples for 0.9.5
2010-11-21 11:41:24 -05:00
Jeremy Ashkenas
2aedbc2e42
Back to naked constructors.
2010-11-13 15:22:18 -05:00
Jeremy Ashkenas
99c06b5cda
All examples now compile and lint cleanly.
2010-10-24 21:37:27 -04:00
Jeremy Ashkenas
26a115adcf
Removing the mixed-in sys/util module. Switching from 'puts' to console.log
2010-10-24 12:48:42 -04:00
Jeremy Ashkenas
b18d7fb550
removing the last traces of half-assignments. Issue #541 .
2010-07-29 21:23:49 -04:00
Jeremy Ashkenas
da6ea27454
most of the examples converted to symbology.
2010-07-29 00:03:42 -04:00
Jeremy Ashkenas
7d79d73b58
allowing paren-less instance creation, a la 'new Class'
2010-06-29 21:03:50 -04:00
Jeremy Ashkenas
b5c9d779bd
updating the Lexer to use classes and some of the older documentation
2010-02-27 19:40:53 -05:00
Jeremy Ashkenas
7ec0a8d653
merging node into master -- you can now pass the --narwhal flag to use narwhal instead. All tests are executing successfully against both Node.js and Narwhal/Rhino backends
2010-02-07 12:52:07 -05:00
Jeremy Ashkenas
f5a37035cf
node conversion finished, narwhal removed.
2010-01-29 23:30:54 -05:00
Jeremy Ashkenas
a9f016e292
trying out new arrows for function literals -> is a function, => is a bound function
2010-01-26 10:52:05 -05:00
Jeremy Ashkenas
29e4043f26
tests passing with smarter block syntax with optional parens
2010-01-26 02:15:08 -05:00
Jeremy Ashkenas
460b3f6d8e
first draft of mandatory parentheses around function definition param lists -- all tests pass
2010-01-26 00:40:58 -05:00
Jeremy Ashkenas
e6f010b983
adding more examples to the computer_science folder, and fiddling with operator precedence
2010-01-24 18:59:29 -05:00
Jeremy Ashkenas
817e8deb27
adding soaked method calls, with caching
2010-01-24 12:52:15 -05:00