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

Allow lambda sections to render text #33

Merged
merged 3 commits into from
May 4, 2014
Merged

Conversation

simonl2002
Copy link
Contributor

This is an attempt at fixing issue #31 #31

@fhd
Copy link
Owner

fhd commented May 3, 2014

Sorry, forgot about this 😞 Let me do a quick review.

@@ -113,7 +113,11 @@

(deftest test-render-lambda-with-params
(is (= "Hello, Felix" (render "{{#greet}}Felix{{/greet}}"
{:greet #(str "Hello, " %)}))))
{:greet (fn [text] (str "Hello, " text))})))
Copy link
Owner

Choose a reason for hiding this comment

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

Why not the lambda literal? Semantically it's the same.

@fhd
Copy link
Owner

fhd commented May 3, 2014

That's the only comment really, don't see the reason for this change. Looks good to merge otherwise!

@simonl2002
Copy link
Contributor Author

Thanks for taking a look, I've made the change you requested in your comment.

fhd added a commit that referenced this pull request May 4, 2014
Allow lambda sections to render text
@fhd fhd merged commit 8e00096 into fhd:master May 4, 2014
@fhd
Copy link
Owner

fhd commented May 4, 2014

Brilliant, merged! Sorry again for missing this 😞 Will do a release shortly.

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.

2 participants