mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-06-16 19:24:53 -04:00
Implement require
for for plugin module.
This commit is contained in:
parent
fa2a6e9ee6
commit
86f31c752d
6 changed files with 36 additions and 0 deletions
|
@ -26,6 +26,12 @@
|
|||
var _MAX_LIST_LEVEL = 8;
|
||||
|
||||
var Changeset = require('/easysync2').Changeset
|
||||
var plugins = undefined;
|
||||
try {
|
||||
plugins = require('/plugins').plugins;
|
||||
} catch (e) {
|
||||
// silence
|
||||
}
|
||||
|
||||
function sanitizeUnicode(s)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue