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

feat: add wrap pipe to add a prefix and a suffix to a string #117

Merged
merged 3 commits into from
Jul 12, 2018

Conversation

maxime1992
Copy link
Contributor

This closes #112

Copy link
Contributor Author

@maxime1992 maxime1992 left a comment

Choose a reason for hiding this comment

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

image

Rebase before merging?

@@ -10,6 +10,6 @@ export class WrapPipe implements PipeTransform {

return (!!prefix && isString(prefix) ? prefix: '') +
str +
(!!suffix && isString(suffix)? suffix: '');
(!!suffix && isString(suffix) ? suffix: '');
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Would you be ok to have your project formatted with Prettier?

You wouldn't have to bother reviewing styles like that :)

Copy link
Owner

Choose a reason for hiding this comment

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

Is that suppose to act as a linter? how's it different from tslint?

@danrevah danrevah merged commit e2f633e into danrevah:master Jul 12, 2018
@danrevah
Copy link
Owner

@maxime1992 Thanks!

@danrevah
Copy link
Owner

released to version 2.3.0.

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.

New pipe suggestion: Wrap
2 participants