mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-24 17:36:14 -04:00
Added a simple test plugin that doesn't do much
This commit is contained in:
parent
168f481980
commit
30b018833c
5 changed files with 64 additions and 0 deletions
13
available_plugins/pluginomatic_fintest/otherpart.js
Normal file
13
available_plugins/pluginomatic_fintest/otherpart.js
Normal file
|
@ -0,0 +1,13 @@
|
|||
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>");
|
||||
});
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue