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

Filters with parameters #41

Merged
merged 4 commits into from
May 17, 2017
Merged

Conversation

djbe
Copy link
Member

@djbe djbe commented May 16, 2017

Fixes #6.

Unless I'm missing something, the only filter we can change this way is the snakeToCamelCase filter.

@djbe djbe added this to the 2.0.0 milestone May 16, 2017
@djbe djbe mentioned this pull request May 17, 2017
2 tasks
README.md Outdated
@@ -27,7 +27,7 @@
* [String filters](Documentation/filters-strings.md):
* `escapeReservedKeywords`: Escape keywods reserved in the Swift language, by wrapping them inside backticks so that the can be used as regular escape keywords in Swift code.
* `lowerFirstWord`
* `snakeToCamelCase` / `snakeToCamelCaseNoPrefix`
* `snakeToCamelCase`: Transforms text from snake_case to camelCase. By default it keeps prefix underscores, unless a single optional argument is set to "true", "no" or "0".
Copy link
Contributor

Choose a reason for hiding this comment

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

s/prefix/leading/ ?

Copy link
Member Author

Choose a reason for hiding this comment

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

sure

Copy link
Contributor

Choose a reason for hiding this comment

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

Once fixed, good to merge 👍

@djbe djbe merged commit 4191eb1 into master May 17, 2017
@djbe djbe deleted the breaking/feature/filters-with-parameters branch May 17, 2017 12:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants