mirror of
https://github.com/Codiad/Codiad.git
synced 2026-03-25 02:16:52 +01:00
2fbd0c815b0ccbd7b4dd09f21439aceebebe03b4
I found the only mechanism in place that pushes your client-side changes to the server-side copy is the 500ms synchronize interval, which stops when the collaboration logic stops, and that stops after the initial sync unless there is another user online. So I believe a piece is missing and I added a throttled onChange event that will also push changes to the server, making it more responsive. Another addition was firing the initial $synchronizeText right away instead of waiting for the first 500ms interval. This still needs to be tested, I'm continuing to test it. It heavily improves the jumbled text issue for a single user. For collaborative, it is actually extremely responsive! But be warned! If you log in with multiple instances on the SAME user to test collab, it doesn't seem to work and it actually gets out of sync. But that's not really intended use anyways so you shouldn't be doing that :)
Codiad Web IDE
Codiad is a web-based IDE framework with a small footprint and minimal requirements. The system is still early in development, and while it has been proven extremely stable please be sure have a backup system if you use it in any production work.
Keep up to date with the latest changes and news on Twitter or Facebook
For more information on the project please check out the check out the Wiki or the Codiad Website
Distributed under the MIT-Style License. See LICENSE.txt file for more information.
Description
Languages
JavaScript
72%
PHP
23.7%
CSS
3.1%
Hack
1.2%