Skip to content
This repository was archived by the owner on Nov 20, 2018. It is now read-only.

this seems to be sufficient to update the documents #12

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

bru
Copy link
Member

@bru bru commented Nov 1, 2013

I was working on the diff-match-patch algorithm, but then I realised the documents were updating anyway due to the fact that when ember receives a message from pusher, it reloaded the documents anyway from the server.

At this point, the ideal solution would still be a proper diff-patch (or operational transform), but this PR proposes a temporary solution that 1) simplifies the code a bit and 2) keeps the size of the pusher messages constant (only the doc id is transmitted).

@alexslade
Copy link
Member

Well if ember is updating things itself anyway (really??) then it definitely needs a rework. I got totally blown off track yesterday, so no time to play with it, but I'll put up a proper PR this weekend as I have some time.

bad ember
bad!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants