clkao / angular-brunch-seed-livescript

AngularJS + Brunch.io
Other
21 stars 9 forks source link

Looks like the condition goes before function call in Livescript #5

Open flyakite opened 11 years ago

flyakite commented 11 years ago

I'm new to Livescript. A function call in a if-else condition like this could cause an unexpected behavior. How do I avoid this ambiguity in the future?

vendethiel commented 11 years ago

Using parenthesis, inversing the order, ...