-
If you define a route such as
``` lua
r:get('/api/:node', doTheThing)
```
and access the URL
```
http://someSite.local/api/:node
```
the `param` table passed to `doTheThing` contains no entry name…
-
### Is your feature request related to a problem? Please describe.
Project could benefit from more thorough documentation. Demo examples are nice, but I think it could be better to show exactly what…
-
luci-lib-json supports serializing userdata and functions by calling tostring on them, see https://github.com/openwrt/luci/commit/09de5a74e13b225c2159bd62bef2563bd2a615c2 (much like penlight.pretty.d…
karlp updated
3 years ago
-
A seemingly innocuous
```lua
--# assume File.open: method() --> boolean
--# assume File.write: method(string, integer?) --> (boolean, string?)
--# assume File.close: method() --> boolean
```
lea…
-
Hello,
I tried to add a compressor in an nginx ingress controller via set $session_compressor zlib;, but I get this error :
lua entry thread aborted: runtime error: /usr/local/share/lua/5.1/res…
-
It seems LDoc behaves differently on macOS & Windows with respect to resolving file references.
As an example, my config.ld file contains two files:
```
topics = { 'Info.md' }
file = { 'app.lua…
-
I would like to support running 5.1 scripts in Ravi, hence plan to add a compatibility layer for 5.1.
-
### Introduction
As it's widely known that getting luarocks to work on Windows is a nightmare. Here I am sharing my experience of installing busted using luarocks on my Windows 10 64-bit machine. T…
C3pa updated
7 months ago
-
Hi, this seems to be the `strict` module in luarocks, but I find I can't use it to declare global variables without triggering a warning. For example, if running the following simple script
```
requi…
chtlp updated
10 years ago
-