mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-05 06:37:10 -04:00
Added support for plugins
This commit is contained in:
parent
b7e0e6b216
commit
85dc9c088f
3 changed files with 6 additions and 5 deletions
|
@ -27,7 +27,7 @@
|
|||
window.plugins.baseURL = basePath;
|
||||
await window.plugins.update(new Map([
|
||||
<% for (const module of pluginModules) { %>
|
||||
[<%- JSON.stringify(module) %>, require(<%- JSON.stringify(module) %>)],
|
||||
[<%- JSON.stringify(module) %>, require("../../src/plugin_packages/"+<%- JSON.stringify(module) %>)],
|
||||
<% } %>
|
||||
]));
|
||||
// Mechanism for tests to register hook functions (install fake plugins).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue