mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-07 23:55:12 -04:00
tests: Support injecting hook functions during pad load
This commit is contained in:
parent
c8e544ec8d
commit
e28c9ffc97
3 changed files with 28 additions and 1 deletions
|
@ -47,6 +47,9 @@
|
|||
hook. Plugins should use this instead of the `clientVars` global variable.
|
||||
* New `userJoin` server-side hook.
|
||||
* The `userLeave` server-side hook has a new `socket` context property.
|
||||
* The `helper.aNewPad()` function (accessible to client-side tests) now
|
||||
accepts hook functions to inject when opening a pad. This can be used to
|
||||
test any new client-side hooks your plugin provides.
|
||||
|
||||
# 1.8.14
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue