From 0c89774f42b00c6f1c2c4b58ba28d4b952464e5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20N=C3=BCcke?= Date: Fri, 14 Mar 2014 01:31:33 -0700 Subject: [PATCH] Updated CodeConventions (markdown) --- CodeConventions.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CodeConventions.md b/CodeConventions.md index d2e5cd7..3a1e272 100644 --- a/CodeConventions.md +++ b/CodeConventions.md @@ -29,9 +29,9 @@ end Good: ```lua -function f(arg1, ...) - checkArg(1, arg1, "string") - if arg1 then +function f(name, ...) + checkArg(1, name, "string") + if name then local result = 1 -- We extrapolate the b-spline of the non-euclidean space to -- determine the fraction of potential failures encountered.