icgood/ratchet — Issue #22: Change to new module style
Author: daurnimator
Created: 2011-11-24 22:01:05+00:00
State: open

The old lua style of modules: using module() and/or package.seeall has been deprecated; and it is advised to cease using it in lua 5.1 code.

Not only will this make the library more friendly to use from lua 5.1; it will ensure an easy migration to lua 5.2

=> Change rachet's lua based modules to returning a table of their contents
=> Localise all functions used in each module (that is, do: local assert , setmetatable = assert , setmetatable; local coyield = coroutine.yield )