mirror of
https://github.com/TangentFoxy/etlua.git
synced 2025-07-27 18:42:17 +00:00
add version inside of module
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
local VERSION = "1.0.1"
|
||||
local insert, concat
|
||||
do
|
||||
local _obj_0 = table
|
||||
@@ -307,5 +308,6 @@ end
|
||||
return {
|
||||
compile = compile,
|
||||
render = render,
|
||||
Parser = Parser
|
||||
Parser = Parser,
|
||||
_version = VERSION
|
||||
}
|
||||
|
@@ -1,3 +1,4 @@
|
||||
VERSION = "1.0.1"
|
||||
|
||||
import insert, concat from table
|
||||
|
||||
@@ -229,5 +230,5 @@ render = (str, env) ->
|
||||
else
|
||||
nil, err
|
||||
|
||||
{ :compile, :render, :Parser }
|
||||
{ :compile, :render, :Parser, _version: VERSION }
|
||||
|
||||
|
Reference in New Issue
Block a user