正在显示
1 个修改的文件
包含
5 行增加
和
5 行删除
@@ -18,10 +18,10 @@ IoC.create('igloo/server').then(function (server) { | @@ -18,10 +18,10 @@ IoC.create('igloo/server').then(function (server) { | ||
18 | app.phase(server); | 18 | app.phase(server); |
19 | }); | 19 | }); |
20 | 20 | ||
21 | -function workaiExpress() { } | ||
22 | - | ||
23 | -workaiExpress.prototype.app = app; | ||
24 | -workaiExpress.prototype.IoC = IoC; | ||
25 | -workaiExpress.prototype.bootable = bootable; | 21 | +var workaiExpress = { |
22 | + 'app': app, | ||
23 | + 'IoC': IoC, | ||
24 | + 'bootable': bootable | ||
25 | +}; | ||
26 | 26 | ||
27 | module.exports = workaiExpress; | 27 | module.exports = workaiExpress; |
请
注册
或
登录
后发表评论