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
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
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
da6ea27454
most of the examples converted to symbology.
2010-07-29 00:03:42 -04: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
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