On Sun, 8 Nov 2015, Wolfgang Schuster wrote:

Hi,

there is a misspelled "data" variable.

local function registerbuttons(tag,register,language)
    local data = sorters.definitions[language]
- local orders = daya and data.orders or sorters.definitions.default.orders + local orders = data and data.orders or sorters.definitions.default.orders
    local tag = tag == "" and { "" } or { tag }
    for i=1,#orders do
        local order = orders[i]
        context.menubutton(tag,f_two_colon(register,order),order)
    end
end

I am not too familiar with the lua toolchain, but would it be possible to run a lua static analyzer (such as luacheck https://github.com/mpeterv/luacheck) on the context sources?

Aditya
_______________________________________________
dev-context mailing list
dev-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/dev-context

Reply via email to