mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 16:06:16 -04:00
Implement require
for most modules.
This commit is contained in:
parent
72d29b1c62
commit
7f98116a43
11 changed files with 55 additions and 0 deletions
|
@ -25,6 +25,8 @@
|
|||
|
||||
var _MAX_LIST_LEVEL = 8;
|
||||
|
||||
var Changeset = require('/easysync2').Changeset
|
||||
|
||||
function sanitizeUnicode(s)
|
||||
{
|
||||
return s.replace(/[\uffff\ufffe\ufeff\ufdd0-\ufdef\ud800-\udfff]/g, '?');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue