PageRenderTime 14ms CodeModel.GetById 0ms RepoModel.GetById 0ms app.codeStats 0ms

/documentation/js/do.js

http://github.com/jashkenas/coffee-script
JavaScript | 12 lines | 10 code | 1 blank | 1 comment | 1 complexity | f10270f9107ccb66d2b02248f1cd0704 MD5 | raw file
  1. // Generated by CoffeeScript 1.10.0
  2. var filename, fn, i, len;
  3. fn = function(filename) {
  4. return fs.readFile(filename, function(err, contents) {
  5. return compile(filename, contents.toString());
  6. });
  7. };
  8. for (i = 0, len = list.length; i < len; i++) {
  9. filename = list[i];
  10. fn(filename);
  11. }