DamonOehlman/interleave — Issue #7: Interleave Function Flexibility
Author: DamonOehlman
Created: 2012-01-24 11:45:23+00:00
State: open

Currently the interleave function is a little fussy. It should be more flexible, and any of the following should be acceptable for source files:

```js
// process all the files in the target directory
interleave('dir');

// process the single file (no extension)
interleave('file');

// process the file (extension)
interleave('file.js');

// process the coffeescript file
interleave('file.coffee');

// process multiple files
interleave(['file1', 'file2.js', 'file3.coffee']);

// process some files and directories
interleave(['dir', 'file1.coffee']);
```