-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
add 'tickformatstops' #1965
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
Merged
Merged
add 'tickformatstops' #1965
Changes from 1 commit
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
1baa14a
add 'tickformatstops'
yauhen-kavaliou f958c3b
change tickformatstops definition and code review fixes
yauhen-kavaliou a155bd9
change valType
yauhen-kavaliou be11c03
remove axis attribute duplication
apalchys a13c29e
fix: add missed semicolon
apalchys 304d96b
add tests for tickformatstops
apalchys 0c9fb2b
add tickformatstop image for test
apalchys db526d9
Merge branch 'master' into tickformatstops
alexcjohnson 7f1fd41
editTypes for tickformatstops
alexcjohnson 86777f7
make sure the tickformatstops tests actually run as expected
alexcjohnson 531aea8
flatten tickformatstops tests
alexcjohnson 0b48a33
robustify tickformatstops supplydefaults
alexcjohnson 6420044
take the first matching tickformatstop
apalchys 92f7c13
replace Array.prototype.find with for loop and update tests
apalchys df72531
lint
alexcjohnson 7665b4c
updated tickformatstops baseline
alexcjohnson 0e6747f
merge tickformatstops_test into axes_test
alexcjohnson File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice and clean - unfortunately it doesn't look like IE supports
Array.find
, not even in IE11https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find
We've also tended to gravitate toward
for
loops overArray
methods for performance reasons. Not a big deal here as this array will be fairly small, but it should still help.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sorry, just switched from the project where is supported and don't care about IE11 support.
Replaced with
for
loop and fixed tests.