diff options
| author | Fabio Mascarenhas <mascarenhas@gmail.com> | 2012-10-04 07:00:22 -0700 |
|---|---|---|
| committer | Fabio Mascarenhas <mascarenhas@gmail.com> | 2012-10-04 07:00:22 -0700 |
| commit | 62d5dbe3b6375e19573ad8f8af23df318bb05042 (patch) | |
| tree | 899cba2237f04413e54165b0f513ed6ba0735a6b /doc/us/examples.html | |
| parent | 944e325e2930a19ed7783816def8cd94508a15f8 (diff) | |
| parent | f42c1a1a38cb6ee448bbb36fb5c8fadeebef84fc (diff) | |
| download | luafilesystem-62d5dbe3b6375e19573ad8f8af23df318bb05042.tar.gz luafilesystem-62d5dbe3b6375e19573ad8f8af23df318bb05042.tar.bz2 luafilesystem-62d5dbe3b6375e19573ad8f8af23df318bb05042.zip | |
Merge pull request #18 from devurandom/fix/lua52
Full Lua 5.2 compatibility and adherance to modules-create-no-globals
Diffstat (limited to 'doc/us/examples.html')
| -rw-r--r-- | doc/us/examples.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/us/examples.html b/doc/us/examples.html index 65a6623..d6d32fc 100644 --- a/doc/us/examples.html +++ b/doc/us/examples.html | |||
| @@ -65,7 +65,7 @@ | |||
| 65 | attributes for each file inside it.</p> | 65 | attributes for each file inside it.</p> |
| 66 | 66 | ||
| 67 | <pre class="example"> | 67 | <pre class="example"> |
| 68 | require"lfs" | 68 | local lfs = require"lfs" |
| 69 | 69 | ||
| 70 | function attrdir (path) | 70 | function attrdir (path) |
| 71 | for file in lfs.dir(path) do | 71 | for file in lfs.dir(path) do |
