PageRenderTime 133ms CodeModel.GetById 60ms app.highlight 4ms RepoModel.GetById 37ms app.codeStats 0ms

/Tukui/core/init.lua

http://github.com/Asphyxia/Tukui
Lua | 19 lines | 5 code | 4 blank | 10 comment | 0 complexity | 001f280ae1387890a085dfea585b4151 MD5 | raw file
 1----------------------------------------------------------------
 2-- initiation of tukui
 3----------------------------------------------------------------
 4
 5-- including system
 6local addon, engine = ...
 7engine[1] = {} -- T, functions, constants, variables
 8engine[2] = {} -- C, config
 9engine[3] = {} -- L, localization
10
11Tukui = engine -- Allow other addons to use Engine
12
13---------------------------------------------------------------------------------
14--	This should be at the top of every file inside of the Tukui AddOn:	
15--	local T, C, L = unpack(select(2, ...))
16
17--	This is how another addon imports the Tukui engine:	
18--	local T, C, L = unpack(Tukui)
19---------------------------------------------------------------------------------