ZywaveLabs / Retrospectre

MSOE SDL project.
http://retrospectre.zywave.com
MIT License
5 stars 2 forks source link

added live collaborative notes editing with saving and with tests #44

Closed trejonh closed 8 years ago

Awkewainze commented 8 years ago

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

JakeHuemann commented 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.

Awkewainze commented 8 years ago

Mine worked after I refreshed page, but if that isn't working for you then idk. You in same room for two different windows?