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

Update jsmart.js #1

Closed
wants to merge 1 commit into from
Closed

Update jsmart.js #1

wants to merge 1 commit into from

Conversation

DrewCarlson
Copy link

added trim modifier.

added trim modifier.
@umakantp
Copy link
Owner

@rotexdev You can send new pull request with change which @bakert had suggested. We would definitely want to keep compatibility for all browsers and CommonJS environments.

@umakantp
Copy link
Owner

@rotexdev Thanks for the pull request. We also would like to maintain compatibility of jSmart with original Smarty template engine which does not has trim modifier.

If you want to have trim modifier specific to your project then you can find documentation for that here.
Other way to trim space are:- http:https://stackoverflow.com/questions/12317022/strip-spaces-from-string-using-smarty

@umakantp umakantp closed this Jan 10, 2014
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.

None yet

2 participants