Commits

Andrew Godwin committed 6ceeb1a

Fix lambda syntax

  • Participants
  • Parent commits 88f8d90

Comments (0)

Files changed (1)

File kugelblitz/translator/__init__.py

     }
 
 def translate_lambda(node):
-    return "function(%(args_def)s) {\nreturn %(body_def)s\n}" % {
+    return "function (%(args_def)s) {\nreturn %(body_def)s\n}" % {
         'args_def': ", ".join([arg.id for arg in node.args.args]),
         'body_def': translate_body([node.body]),
     }