Proposal: rename Runner to APW
veged opened this issue · comments
Now Runner
is top level object, we can just call it APW
itself.
Also, we can join core.js
and runner.js
to apw.js
, that export all api (including coa
, see #18).
I'm not sure about merging core.js
with runner.js
into apw.js
.
What will be core exported object — APW iself, or it will be just another property called APW
?
Like this:
var INHERIT = require('inherit');
module.exports = INHERIT({
// APW code goes here
}, {
api: require('./coa').api,
Arch: require('./arch'),
Plan: require('./plan'),
Workers: require('./workers')
});
I like your example with INHERIT
and I think functionality of core.js
and runner.js
should be described in // APW code goes here
.
Ok, will commit today
05.04.2012, 10:56, "Sergey Berezhnoy" reply@reply.github.com:
I like your example with
INHERIT
and I think functionality ofcore.js
andrunner.js
should be described in// APW code goes here
.
Reply to this email directly or view it on GitHub:
#19 (comment)
Отправлено из мобильной Яндекс.Почты: http://m.ya.ru/ymail