fix bin/utils to use require
This commit is contained in:
parent
6f2e02d2e9
commit
2fa8113e86
@ -29,7 +29,7 @@ if (typeof persistenceDir === 'string') {
|
|||||||
* @param {{bindState: function(string,WSSharedDoc):void,
|
* @param {{bindState: function(string,WSSharedDoc):void,
|
||||||
* writeState:function(string,WSSharedDoc):Promise}|null} persistence_
|
* writeState:function(string,WSSharedDoc):Promise}|null} persistence_
|
||||||
*/
|
*/
|
||||||
export const setPersistence = persistence_ => {
|
exports.setPersistence = persistence_ => {
|
||||||
persistence = persistence_
|
persistence = persistence_
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user