Fix the test to make it compile.

This commit is contained in:
Duncan Mak
2013-06-20 14:18:55 -04:00
parent 4d7a581f41
commit 9ccfc8fc6f

View File

@@ -18,10 +18,10 @@ async.series([
function () { }
]);
var data;
function asyncProcess() { }
var data = [];
function asyncProcess(item, callback) { }
async.map(data, asyncProcess, function (err, results) {
alert(results);
console.log(results);
});
var openFiles = ['file1', 'file2'];