yog2-kernel
Advanced tools
Comparing version 1.3.3 to 1.4.0
{ | ||
"name": "yog2-kernel", | ||
"version": "1.3.3", | ||
"version": "1.4.0", | ||
"description": "yog2 kernel", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -250,2 +250,6 @@ 'use strict'; | ||
}; | ||
// support wrap raw async fn | ||
router.wrapAsync = function (fn) { | ||
return wrapAsyncFunction(fn, true); | ||
}; | ||
// load user defined router | ||
@@ -252,0 +256,0 @@ var customRouter = require(routerPath); |
55955
1447