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

casemap bug #5459

Open
christophe-g opened this issue Dec 16, 2018 · 3 comments
Open

casemap bug #5459

christophe-g opened this issue Dec 16, 2018 · 3 comments
Labels

Comments

@christophe-g
Copy link

Description

For strings that have already been casemapped (and cashed under caseMap object in https://github.com/Polymer/polymer/blob/master/lib/utils/case-map.js), calling either dashToCamelCase or camelToDashCase will convert to the other notation, whatever the initial notation is.

Steps to Reproduce

Polymer.CaseMap.dashToCamelCase('i-should-stay-dash') => "iShouldStayDash" (o.k.)
Polymer.CaseMap.camelToDashCase('i-should-stay-dash') => "iShouldStayDash" (not o.k. - it should return 'i-should-stay-dash')

Expected Results

calling camelToDashCase on a 'dashed-string' should keep the sting in a dashed mode.

christophe-g added a commit to christophe-g/polymer that referenced this issue Dec 17, 2018
@stale
Copy link

stale bot commented Mar 13, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Mar 13, 2020
@naoak
Copy link

naoak commented Aug 11, 2020

I hope this issue will be resolved.

@stale stale bot removed the wontfix label Aug 11, 2020
@stale
Copy link

stale bot commented Aug 22, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Aug 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants