1 | var fs, i, err, text;
|
2 | fs = require('fs');
|
3 | i = 0;
|
4 | function _$loop_0(_$loop_0__$cont) {
|
5 | if (i < 4) {
|
6 | fs.readFile('continuation.js', 'utf-8', function () {
|
7 | err = arguments[0];
|
8 | text = arguments[1];
|
9 | console.log(err, text);
|
10 | i++;
|
11 | _$loop_0(_$loop_0__$cont);
|
12 | });
|
13 | } else {
|
14 | _$loop_0__$cont();
|
15 | }
|
16 | }
|
17 | _$loop_0(function () {
|
18 | console.log('Done');
|
19 | });
|
20 | /* Generated by Continuation.js v0.1.3 */ |
\ | No newline at end of file |