update co to 2.0
This commit is contained in:
parent
3b2c55b68b
commit
1810977700
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -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",
|
||||||
|
|
Loading…
Reference in a new issue