mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-06-14 18:24:45 -04:00
fix: express5
This commit is contained in:
parent
6208a04556
commit
6db14baee7
26 changed files with 200 additions and 207 deletions
|
@ -57,7 +57,7 @@ const globalPads:MapArrayType<any> = {
|
|||
*
|
||||
* Updated without db access as new pads are created/old ones removed.
|
||||
*/
|
||||
const padList = new class {
|
||||
const padList = new (class {
|
||||
private _cachedList: string[] | null;
|
||||
private _list: Set<string>;
|
||||
private _loaded: Promise<void> | null;
|
||||
|
@ -95,7 +95,7 @@ const padList = new class {
|
|||
this._list.delete(name);
|
||||
this._cachedList = null;
|
||||
}
|
||||
}();
|
||||
})();
|
||||
|
||||
// initialises the all-knowing data structure
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue