Commit Graph

17 Commits

Author SHA1 Message Date
Topher
5e4079fa33
[lua/en] Fixed formatting and variable names 2018-08-08 19:24:40 +03:00
Topher
057511f3a7
[lua/en] Added a note about the wonky ternary
Ternaries in lua only work if the value returned when the condition evaluates to `true` is not `false` or `Nil`.
2018-08-08 19:17:43 +03:00
Abhijeet Mohan
50c8f7b4dd Fix typo (#2317) 2016-07-30 18:28:27 +02:00
Saurabh Sandav
7a6d3b1549 [elisp/en] Fix typo 2015-10-28 13:16:13 +05:30
Saurabh Sandav
a019e2c16b [lua/en] Fix typo 2015-10-24 12:22:11 +05:30
Geoffrey Liu
6933d24227 Capitalize language names. See #137 2014-10-12 12:24:52 -07:00
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