jQPlot
jQPlot copied to clipboard
revert the jslint merge commits erros
Lots of commits causes regressions on functionalities:
- core
- dateAxis
- shadows
What kind of issues are you experiencing? I made sure that all visible examples and tests still ran, so I'm really curious what kind of issues you found.
The check intersection method is returned a first series loop. In fact all hover or check intersection events concerning the series index > 1 did not fired any events. See what I changed: https://github.com/svandecappelle/jQPlot/blob/83c9d184d9f2826551d0d027f57cddd487b29408/src/core/jqplot.core.js#L693
Function return was called after each 'case' statement. Wich caused the loop always break after first serie.
An exemple of the issue: donut chart -> Hover your mouse on a slice. There is no highlight color. The jqplot github pages are already patched with the new version.
I'm sorry the "code cleanup" resulted in these issues. I thought it would be good to make the code more readable and following linting rules. Did you create a test for this issue?