Module:TNT: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
and one more optimization
(sync from wmw)
(and one more optimization)
Line 36:
local p = {}
local i18nDataset = 'I18n/Module:TNT.tab'
local checkType = require('libraryUtil').checkType
 
-- Forward declaration of the local functions
Line 61 ⟶ 60:
-- Identical to p.msg() above, but used from other lua modules
function p.format(dataset, key, params, lang)
local checkType = require('libraryUtil').checkType
checkType('format', 1, dataset, 'string')
checkType('format', 2, key, 'string')
0

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu