@@ -30,7 +30,7 @@ defmodule ElixirScript.Translator.Function do
3030
3131 ( { _ , _ , [ { :when , _ , [ { _ , _ , params } , guards ] } , body ] } ) ->
3232 body = convert_to_try ( body )
33- process_function_body ( params , body , env , name , guards )
33+ process_function_body ( params , body , env , name , guards )
3434
3535 ( { _ , _ , [ { _ , _ , params } , body ] } ) ->
3636 body = convert_to_try ( body )
@@ -212,7 +212,7 @@ defmodule ElixirScript.Translator.Function do
212212
213213 return_statement = case declaration do
214214 % ESTree.ArrayPattern { elements: elements } ->
215- if ( length ( elements ) == 1 ) do
215+ if length ( elements ) == 1 do
216216 JS . return_statement ( hd ( declaration . elements ) )
217217 else
218218 JS . return_statement ( JS . array_expression ( declaration . elements ) )
@@ -233,7 +233,7 @@ defmodule ElixirScript.Translator.Function do
233233 end
234234
235235
236- list = Enum . take ( list , length ( list ) - 1 )
236+ list = Enum . take ( list , length ( list ) - 1 )
237237 |> Enum . map ( fn ( x ) ->
238238 case x do
239239 % ESTree.MemberExpression { } ->
0 commit comments