Skip to content

'parseText' becomes 'parseText'/'parseTextPos', depending on the output type #47

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

Merged
merged 1 commit into from
Apr 22, 2015

Conversation

k0ral
Copy link
Collaborator

@k0ral k0ral commented Apr 22, 2015

This is consistent with the existing parseBytes/parseBytesPos.
However, this is a backward-incompatible change...

@snoyberg
Copy link
Owner

Despite the current API inconsistency, I'd rather not break the API. How about:

  • Add parseTextPos as you have
  • Add parseText' with the type of parseText in your PR
  • Deprecate parseText referencing these other two functions

@k0ral
Copy link
Collaborator Author

k0ral commented Apr 22, 2015

I've fixed the PR according to your comments.

snoyberg added a commit that referenced this pull request Apr 22, 2015
'parseText' becomes 'parseText'/'parseTextPos', depending on the output type
@snoyberg snoyberg merged commit 5d68265 into snoyberg:master Apr 22, 2015
@snoyberg
Copy link
Owner

Thanks!

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