mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-20 14:39:53 +01:00
13 lines
359 B
JavaScript
13 lines
359 B
JavaScript
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>");
|
|
});
|
|
}
|