Skip to content

Commit

Permalink
Export docs - fixes #27
Browse files Browse the repository at this point in the history
  • Loading branch information
dmonad committed Aug 11, 2020
1 parent 880ad59 commit 7d5517b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ exports.setPersistence = persistence_ => {
* @type {Map<string,WSSharedDoc>}
*/
const docs = new Map()
// exporting docs so that others can use it
exports.docs = docs

const messageSync = 0
const messageAwareness = 1
Expand Down

0 comments on commit 7d5517b

Please sign in to comment.