Closed trejonh closed 8 years ago
Does this work? I pulled the branch typed stuff in hit the save button, refreshed the page and text field is empty.
Mine worked after I refreshed page, but if that isn't working for you then idk. You in same room for two different windows?
I don't like this. You shouldn't need to do a manual save. Also, I tested locally and it doesn't even force the changes onto another client without them refreshing the page...
Try to match his example for sharejs http://documents.meteor.com/
Which you can see the source here https://github.com/mizzao/meteor-sharejs/tree/master/demo/client
The coffeescript might take a bit to understand I got the compiled JS for you so you can try and figure out how to do it w/o using coffeescript. Though you can if you want, Meteor will compile it for us if we want to. http://pastebin.com/QpERqnAY