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

Cast tick label to string prior to replace call #68

Merged
merged 1 commit into from Jul 29, 2012

Conversation

andromedado
Copy link
Contributor

In the edge case that an actual integer, or other non-string, is passed as a label, it must be cast to String before replace can safely be called.

In the edge case that an actual integer, or other non-string, is passed as a label, it must be cast to String before `replace` can safely be called.
dnschnur added a commit that referenced this pull request Jul 29, 2012
Cast tick label to string prior to `replace` call
@dnschnur dnschnur merged commit 36737fd into flot:master Jul 29, 2012
@dnschnur
Copy link
Member

Thanks for catching this!

@andromedado
Copy link
Contributor Author

happy to help. thanks for a great graphing app! (and showing me the more efficient string cast!)

@dnschnur
Copy link
Member

The difference is actually pretty small; I mostly changed it just because
that's what we use elsewhere in the code. Thanks again,

David

On Mon, Jul 30, 2012 at 1:27 PM, Shad Downey <
reply@reply.github.com

wrote:

happy to help. thanks for a great graphing app! (and showing me the more
efficient string cast!)

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.

None yet

2 participants