- Blogory (472)
THIS DOCUMENT IS A WORK IN PROGRES. NOT COMPLETED.
So here is my version of the documentation for the collaborative demo.
If you go to the /demo directory in the github prosemirror repository there are a bunch of files.
index.html is what runs in the client
demo.js is what runs on the server.
The Mythical Man-Month: "Show me your code and conceal your data structures, and I shall continue to be mystified. Show me your data structures, and I won't usually need your code; it'll be obvious."
So at the root of the application is
These are defined by Node.js
So here is the critical section from the client page index.html