Commit Graph

11 Commits

Author SHA1 Message Date
iirelu
88274f8a3a normalised lua doc to 80 chars per line
When this was originally written, it was written for a line-width of 50
characters, however Learn X in Y Minutes' site is designed for
80-character widths. This made it look very out of place.
2014-03-03 15:49:12 +00:00
Jakukyo Friel
f70b1edcfb lua: typo
`LoudDog.__index` is `Dog`, not `LoudDog`.
2014-02-06 01:45:16 +08:00
Craig Roddin
8cbabf82b8 Fixed spelling of trig function "sin" 2013-10-07 12:33:10 -06:00
Rob Hoelz
edea434d89 Use local variables for function examples
Currently, the example functions create variables in global
scope.
2013-09-04 11:43:09 +02:00
Rob Hoelz
57e0ac7e95 Add another example of function call without parens
Function calls using a table literal as its sole parameter
may also omit parentheses
2013-09-04 11:41:42 +02:00
Rob Hoelz
6c53c05dcc Clarify self-referential local functions
The current language used implies that `local function f() ... end`
does not allow f to invoke itself.  This has been clarified via the
addition of an example of a local function that may *not* invoke
itself.
2013-09-04 11:39:15 +02:00
Amr Tamimi
7938abfe88 fix fib function for Lua: fib(0) must eql 0 not 1 2013-07-28 21:34:27 +03:00
Adam
9ad61b5586 Authors -> Contributors 2013-07-03 22:59:13 -07:00
Adam
83aeecb68a Added filename parameter 2013-06-29 20:19:14 -07:00
Adam
6334cec093 Moved lua footer stuff out of code block to insert links (markdown won't do links in code blocks 2013-06-26 13:07:31 -07:00
Adam
9b451ce38e Added lua 2013-06-26 12:41:43 -07:00