Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

consistency

  • Loading branch information...
commit 0e58221aaef646a820ee580a10c70c4c4ecb4339 1 parent ae1486a
@mariusae authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/main/scala/org/monkey/mustache/Interpreter.scala
View
6 src/main/scala/org/monkey/mustache/Interpreter.scala
@@ -26,11 +26,11 @@ object Eval {
dictionary(name) match {
case Dictionaries(_) =>
dictionary.push(name) flatMap { dictionary =>
- node map (Eval(_, dictionary))
+ node map { Eval(_, dictionary) }
} mkString
case Bool(true) | Data(_) =>
- node map (Eval(_, dictionary)) mkString
+ node map { Eval(_, dictionary) } mkString
case Bool(false) | NoValue=>
""
@@ -39,7 +39,7 @@ object Eval {
case InvertedSectionNode(name) =>
dictionary(name) match {
case NoValue | Bool(false) =>
- node map (Eval(_, dictionary)) mkString
+ node map { Eval(_, dictionary) } mkString
case _ =>
""
}
Please sign in to comment.
Something went wrong with that request. Please try again.