implemented frontend including separate message system; started to implement backend
This commit is contained in:
21
yjs-poll/node_modules/lib0/json.js
generated
vendored
Normal file
21
yjs-poll/node_modules/lib0/json.js
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
/**
|
||||
* JSON utility functions.
|
||||
*
|
||||
* @module json
|
||||
*/
|
||||
|
||||
/**
|
||||
* Transform JavaScript object to JSON.
|
||||
*
|
||||
* @param {any} object
|
||||
* @return {string}
|
||||
*/
|
||||
export const stringify = JSON.stringify
|
||||
|
||||
/**
|
||||
* Parse JSON object.
|
||||
*
|
||||
* @param {string} json
|
||||
* @return {any}
|
||||
*/
|
||||
export const parse = JSON.parse
|
||||
Reference in New Issue
Block a user