update co to 2.0

This commit is contained in:
TJ Holowaychuk 2013-10-14 16:50:05 -07:00
parent 3b2c55b68b
commit 1810977700
2 changed files with 2 additions and 2 deletions

View file

@ -131,7 +131,7 @@ app.callback = function(){
co.call(ctx, function *(){ co.call(ctx, function *(){
yield fn; yield fn;
}, function(err){ })(function(err){
if (err) ctx.onerror(err); if (err) ctx.onerror(err);
}); });
} }

View file

@ -21,7 +21,7 @@
], ],
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"co": "1.5.1", "co": "2.0.0",
"debug": "*", "debug": "*",
"mime": "1.2.10", "mime": "1.2.10",
"fresh": "0.2.0", "fresh": "0.2.0",