gruntjs/grunt-contrib-coffee — pull request #56 by scottydawg (2013-03-15 19:23:39+00:00)
Title: Support script concatenation prior to compilation using join option, r1

This change allows for the concatenation of CoffeeScript files prior to compilation (in a fashion similar to the CoffeeScript compiler). This is achieved by setting the newly introduced 'join' option to true.

This is in advance of adding sourceMap support. When concatenating multiple CoffeeScript files into a single JavaScript file using this plugin, sourceMaps will be irrelevant for files concatenated after compilation. The 'join' option paves the way for generation of a relevant sourceMap.

This revision replaces the ternary operator with a regular conditional statement.