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

Extract cleanDiacritics from slugify #444

Merged
merged 1 commit into from
Aug 24, 2015
Merged

Extract cleanDiacritics from slugify #444

merged 1 commit into from
Aug 24, 2015

Conversation

esamattis
Copy link
Owner

Quite a few times I have needed a custom version of the slugify function and this is the main feature I do not want to reimplement.

For example today I needed a slugify function which preserves dots and removes all other non a-z chars.

@esamattis esamattis force-pushed the cleanDiacritics branch 2 times, most recently from 2703397 to fc8705e Compare August 24, 2015 12:48
@esamattis esamattis changed the title Add cleanDiacritics Extract cleanDiacritics from slugify Aug 24, 2015
@stoeffel
Copy link
Collaborator

Nice. LGTM

esamattis added a commit that referenced this pull request Aug 24, 2015
Extract cleanDiacritics from slugify
@esamattis esamattis merged commit 5a1aca8 into master Aug 24, 2015
@alarie
Copy link
Contributor

alarie commented Sep 2, 2015

In the dist/underscore.string.js file cleanDiacritics is not exported. (s.cleanDiacritics is missing)

@esamattis
Copy link
Owner Author

In the dist/underscore.string.js file cleanDiacritics is not exported. (s.cleanDiacritics is missing)

This was already fixed in #445 but it was just not released to npm. Just released 3.2.1 to fix this.

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