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

Remove unnecessary readVarint64 method #62

Merged
merged 2 commits into from
Aug 29, 2016
Merged

Remove unnecessary readVarint64 method #62

merged 2 commits into from
Aug 29, 2016

Conversation

mourner
Copy link
Member

@mourner mourner commented Aug 29, 2016

cc @kjvalencik — just realized it’s now unnecessary after your changes.

@mourner mourner merged commit 1bca5bc into master Aug 29, 2016
@mourner mourner deleted the remove-varint64 branch August 29, 2016 17:09
@kjvalencik
Copy link
Collaborator

kjvalencik commented Aug 29, 2016

@mourner It wasn't being used before my changes either.

@@ -97,25 +96,6 @@ Pbf.prototype = {
return readVarintRemainder(val, isSigned, this);
},

readVarint64: function() {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could alias readVarint64: readVarint for backwards compatibility.

@mourner
Copy link
Member Author

mourner commented Aug 29, 2016

@kjvalencik it's used in some downstream code. Good point about compatibility though.

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