Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

text dependency? #8

Closed
jimktrains opened this issue Feb 27, 2015 · 1 comment
Closed

text dependency? #8

jimktrains opened this issue Feb 27, 2015 · 1 comment

Comments

@jimktrains
Copy link

Could the lib/text0.js file be removed and this repository made dependent on the ot-type repo?

@laughinghan
Copy link
Contributor

When it was written, the embedded text0 type was sharejs's text type. Its since been rewritten to make each operation be a traversal, but the JSON OT type still embeds the old type. As such, that old text type is included in this repository. If you want to use text0 in your own project, I'd be very happy to pull it out of here and make it its own module. However, I recommend that you just use the new text type. Its simpler and faster.

@josephg josephg closed this as completed Apr 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants