jashkenas--coffeescript/examples
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
..
beautiful_code Ensure that all source files end with a single `\n` 2015-09-03 19:20:12 +02:00
computer_science Ensure that all source files end with a single `\n` 2015-09-03 19:20:12 +02:00
blocks.coffee Back to non-naked constructor, @, preincrement, comprehension bracketing, idioms: calls, comprehensions, interpolations 2013-12-09 22:28:34 +00:00
code.coffee Ensure that all source files end with a single `\n` 2015-09-03 19:20:12 +02:00
custom_repl.coffee Export the CoffeeScript REPL. 2014-04-18 08:26:51 -05:00
poignant.coffee Back to non-naked constructor, @, preincrement, comprehension bracketing, idioms: calls, comprehensions, interpolations 2013-12-09 22:28:34 +00:00
potion.coffee Back to non-naked constructor, @, preincrement, comprehension bracketing, idioms: calls, comprehensions, interpolations 2013-12-09 22:28:34 +00:00
underscore.coffee CoffeeScript 1.0.1 2011-01-31 22:39:12 -05:00
web_server.coffee Back to non-naked constructor, @, preincrement, comprehension bracketing, idioms: calls, comprehensions, interpolations 2013-12-09 22:28:34 +00:00