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

Range definition max before min #250

Closed
vogtm opened this issue Apr 22, 2014 · 4 comments
Closed

Range definition max before min #250

vogtm opened this issue Apr 22, 2014 · 4 comments
Milestone

Comments

@vogtm
Copy link

vogtm commented Apr 22, 2014

Hi,

I might just found a little bug.

When you define the max value before the min value within the range object, the initialization will fail.

Have a look at the fiddle: http://jsfiddle.net/KvjSb/

I think when there is object used it should not be depended on the order of the values inside of the object. Looks like a artifact from version 5 initialization.

Best Regards
Matthias

@leongersen
Copy link
Owner

Jep, the order shouldn't matter, but it does. The object should be sorted internally as min >> percentages >> max. Should not to be too tough to add, but I doubt this is a major showstopper.

Thanks for reporting, I'll look into it!

@vogtm
Copy link
Author

vogtm commented Apr 22, 2014

You are right, it's no major showstopper. Just a bit confusnig if you run into it.

@leongersen
Copy link
Owner

This is fixed in #393!

@github-actions
Copy link

github-actions bot commented Jun 6, 2022

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 6, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants