mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-08-03 19:17:27 -04:00
Updated CodeConventions (markdown)
parent
abf28f7b03
commit
0c89774f42
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user