Skip to content

feat($compile): adds labelOverlapSeparator as an option #616

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 3 commits into from
Feb 6, 2018

Conversation

BenLayet
Copy link

@BenLayet BenLayet commented Feb 6, 2018

The labelOverlapSeparator option allows the user to specify what string to use to separate the
labels when they overlap. The previous hardcoded string ' - ' could indeed be mistaken as a minus
sign. To avoid introducing a breaking change, the default is the previous value: ' - '. Tests and
README.md modified accordingly.

Demo: http://jsfiddle.net/sLxkwv9s/
(Compare to original problem: http://jsfiddle.net/04sr3ty0/1/)

The labelOverlapSeparator option allows the user to specify what string to use to separate the
labels when they overlap. The previous hardcoded string ' - ' could indeed be mistaken as a minus
sign. To avoid introducing a breaking change, the default is the previous value: ' - '. Tests and
README.md modified accordingly.
@codecov-io
Copy link

codecov-io commented Feb 6, 2018

Codecov Report

Merging #616 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #616   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           1      1           
  Lines         949    949           
=====================================
  Hits          949    949
Impacted Files Coverage Δ
src/rzslider.js 100% <ø> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9077aac...b92c388. Read the comment docs.

Copy link
Member

@ValentinH ValentinH left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job! Just one problem: please remove the npm log file

@BenLayet
Copy link
Author

BenLayet commented Feb 6, 2018

I have removed the file, would it be a good idea to add it to .gitignore ?

@ValentinH
Copy link
Member

Indeed, can you add this as well? :)

@ValentinH
Copy link
Member

Perfect!

@ValentinH ValentinH merged commit 8b166c0 into angular-slider:master Feb 6, 2018
@ValentinH
Copy link
Member

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.

3 participants