PageRenderTime 25ms CodeModel.GetById 22ms app.highlight 1ms RepoModel.GetById 1ms 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
 2var filename, fn, i, len;
 3
 4fn = function(filename) {
 5  return fs.readFile(filename, function(err, contents) {
 6    return compile(filename, contents.toString());
 7  });
 8};
 9for (i = 0, len = list.length; i < len; i++) {
10  filename = list[i];
11  fn(filename);
12}