mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-24 01:16:15 -04:00
use call first and update docs
This commit is contained in:
parent
ec6dc4fa0e
commit
d09e66e271
2 changed files with 4 additions and 4 deletions
|
@ -259,7 +259,7 @@ This hook will allow a plug-in developer to modify the file name of an exported
|
|||
Example:
|
||||
|
||||
```
|
||||
exports.exportFileName = function(hook, padId){
|
||||
return "newFileName"+padId;
|
||||
exports.exportFileName = function(hook, padId, callback){
|
||||
callback("newFileName"+padId);
|
||||
}
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue