jashkenas--coffeescript/examples/beautiful_code
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
..
binary_search.coffee Ensure that all source files end with a single `\n` 2015-09-03 19:20:12 +02:00
quicksort_runtime.coffee Updating examples for 0.9.5 2010-11-21 11:41:24 -05:00
regular_expression_matcher.coffee Ensure that all source files end with a single `\n` 2015-09-03 19:20:12 +02:00