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

Update context 'remove' flag var name to avoid collision with 'text' OT type method #384

Merged
merged 2 commits into from
Jul 18, 2015
Merged

Update context 'remove' flag var name to avoid collision with 'text' OT type method #384

merged 2 commits into from
Jul 18, 2015

Conversation

pedrosanta
Copy link
Contributor

Fixes #380.

I've updated the context 'remove' flag var name to 'shouldBeRemoved' as proposed on the discussion of the issue mentioned above. Context remove flag name was updated to avoid collision with the method remove(pos, length, callback) of the 'text' OT type. This collision was causing issues that are documented on the ShareJS GitHub repository, such as #380 and #382.

Context remove flag name was updated to avoid collision with the method
'remove' of the 'text' OT type. This collision was causing issues that
are documented on the ShareJS GitHub repository.
nateps added a commit that referenced this pull request Jul 18, 2015
Update context 'remove' flag var name to avoid collision with 'text' OT type method
@nateps nateps merged commit e5ad849 into josephg:master Jul 18, 2015
@nateps
Copy link
Contributor

nateps commented Jul 18, 2015

Thanks!

@pedrosanta pedrosanta deleted the context-remove-var-collision branch May 19, 2017 03:12
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

Successfully merging this pull request may close these issues.

2 participants