List.lua: add _VERSION to module, drop unused var
This commit is contained in:
parent
a276bb0a8a
commit
c65b514ed1
1 changed files with 3 additions and 4 deletions
|
@ -22,14 +22,13 @@ THIS SOFTWARE.
|
||||||
-- @author Albert Krewinkel
|
-- @author Albert Krewinkel
|
||||||
-- @copyright © 2017 Albert Krewinkel
|
-- @copyright © 2017 Albert Krewinkel
|
||||||
-- @license MIT
|
-- @license MIT
|
||||||
local M = {
|
|
||||||
_VERSION = "0.1.0"
|
|
||||||
}
|
|
||||||
|
|
||||||
------------------------------------------------------------------------
|
------------------------------------------------------------------------
|
||||||
-- Metatable for lists
|
-- Metatable for lists
|
||||||
-- @type List
|
-- @type List
|
||||||
local List = {}
|
local List = {
|
||||||
|
_VERSION = "0.1.0"
|
||||||
|
}
|
||||||
|
|
||||||
function List:new (o)
|
function List:new (o)
|
||||||
o = o or {}
|
o = o or {}
|
||||||
|
|
Loading…
Add table
Reference in a new issue