Authored by htoooth

update lib

@@ -24,7 +24,7 @@ app.engine('.hbs', hbs({ @@ -24,7 +24,7 @@ app.engine('.hbs', hbs({
24 defaultLayout: 'layout', 24 defaultLayout: 'layout',
25 layoutsDir: doraemon, 25 layoutsDir: doraemon,
26 partialsDir: [path.join(__dirname, 'views/partial'), `${doraemon}/partial`], 26 partialsDir: [path.join(__dirname, 'views/partial'), `${doraemon}/partial`],
27 - helpers: 'helpers' 27 + helpers: global.yoho.helpers
28 })); 28 }));
29 29
30 // router 30 // router
1 { 1 {
2 "name": "generator-subapp", 2 "name": "generator-subapp",
3 - "version": "0.0.6", 3 + "version": "0.0.7",
4 "description": "Scaffold out a yohobuy node sub app", 4 "description": "Scaffold out a yohobuy node sub app",
5 "author": "xuqi<qi.xu@yoho.cn>", 5 "author": "xuqi<qi.xu@yoho.cn>",
6 "keywords": [ 6 "keywords": [