mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-26 18:36:14 -04:00
The big rename of pluginbs from pluginomatic to ep
This commit is contained in:
parent
758666c3e1
commit
da52353ba3
16 changed files with 48 additions and 48 deletions
16
available_plugins/ep_fintest/otherpart.js
Normal file
16
available_plugins/ep_fintest/otherpart.js
Normal file
|
@ -0,0 +1,16 @@
|
|||
test = ep_client_require("/plugins/ep_fintest/test.js");
|
||||
console.log("FOOO:", test.foo);
|
||||
|
||||
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