2012-02-26 14:34:03 +00:00
|
|
|
test = require("ep_fintest/static/js/test.js");
|
2012-02-25 23:59:05 +00:00
|
|
|
console.log("FOOO:", test.foo);
|
|
|
|
|
2012-02-24 19:03:58 +00:00
|
|
|
exports.somehook = function (hook_name, args, cb) {
|
|
|
|
return cb(["otherpart:somehook was here"]);
|
|
|
|
}
|
|
|
|
|
|
|
|
exports.morehook = function (hook_name, args, cb) {
|
|
|
|
return cb(["otherpart:morehook was here"]);
|
|
|
|
}
|
|
|
|
|
|
|
|
exports.expressServer = function (hook_name, args, cb) {
|
|
|
|
args.app.get('/otherpart', function(req, res) {
|
|
|
|
res.send("<em>Abra cadabra</em>");
|
|
|
|
});
|
|
|
|
}
|