Permalink
Browse files

consistency

  • Loading branch information...
1 parent ae1486a commit 0e58221aaef646a820ee580a10c70c4c4ecb4339 @mariusae committed Mar 9, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 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 _ =>
""
}

0 comments on commit 0e58221

Please sign in to comment.