Difference between revisions of "Module:Jctint/core/sandbox"

From blackwiki
Jump to navigation Jump to search
blackwiki>Happy5214
(Adding temporary wrapper for distances)
blackwiki>Happy5214
(Adding destinations and notes)
Line 12: Line 12:
 
local args = getArgs(frame)
 
local args = getArgs(frame)
 
return mainModule.units(args)
 
return mainModule.units(args)
 +
end
 +
 +
function p.destinations(frame)
 +
local args = getArgs(frame)
 +
return mainModule.destinations(args)
 
end
 
end
  
 
return p
 
return p

Revision as of 10:57, 24 December 2013

Documentation for this module may be created at Module:Jctint/core/sandbox/doc

local p = {}

local mainModule = require "Module:Jctint/core"
local getArgs = require('Module:Arguments').getArgs

function p.locations(frame)
	local args = getArgs(frame)
	return mainModule.locations(args)
end

function p.units(frame)
	local args = getArgs(frame)
	return mainModule.units(args)
end

function p.destinations(frame)
	local args = getArgs(frame)
	return mainModule.destinations(args)
end

return p