Jump to content

Module:Currency and Module:Currency/sandbox: Difference between pages

(Difference between pages)
Page 1
Page 2
Content deleted Content added
use require('strict') instead of require('Module:No globals')
 
mirror using Module:Currency/Presentation/sandbox
 
Line 144: Line 144:
local result;
local result;


presentation = mw.loadData ('Module:Currency/Presentation'); -- get presentation data
presentation = mw.loadData ('Module:Currency/Presentation/sandbox'); -- get presentation data


if presentation.currency_properties[code] then -- if code is an iso 4217 code
if presentation.currency_properties[code] then -- if code is an iso 4217 code