Skip to content

fix yaxis attributes on jquery2#75

Merged
agallou merged 3 commits intohighchartTable:masterfrom
agallou:yaxis_jquery2
Dec 6, 2015
Merged

fix yaxis attributes on jquery2#75
agallou merged 3 commits intohighchartTable:masterfrom
agallou:yaxis_jquery2

Conversation

@agallou
Copy link
Member

@agallou agallou commented Nov 15, 2015

data-graph-yaxis-X-* attributes doesn't work
on jQuery 2 (but data-graph-yaxisX-* work).
data-graph-yaxis-X-* works on the master branch
of jQuery.

In order to have a version that work on all
jQury versions we have to support the data-graph-yaxisX-*
version that will be the new norm.

To avoid a Backward compatibility break, we need to
support both versions of the attribute.

  • Now all data-graph-yaxis attributes could be written
    with or without a dash before the axis number.
  • There is tests on all the attributes, in both versions
  • tests are executed on both jQuery 2 and jQuery 1

see issue #60

`data-graph-yaxis-X-*` attributes doesn't work
on jQuery 2 (but `data-graph-yaxisX-*` work).
`data-graph-yaxis-X-*` works on the master branch
of jQuery.

In order to have a version that work on all
jQury versions we have to support the `data-graph-yaxisX-*`
version that will be the new norm.

To avoid a Backward compatibility break, we need to
support both versions of the attribute.

* Now all `data-graph-yaxis` attributes could be written
with or without a dash before the axis number.
* There is tests on all the attributes, in both versions
* tests are executed on both jQuery 2 and jQuery 1

see issue highchartTable#60
agallou added a commit that referenced this pull request Dec 6, 2015
fix yaxis attributes on jquery2
@agallou agallou merged commit 535ebb2 into highchartTable:master Dec 6, 2015
@agallou agallou deleted the yaxis_jquery2 branch December 6, 2015 18:01
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.

1 participant