mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-12-04 21:13:50 +01:00
weac/polyfill: add @module so it appears in the Lua API
This commit is contained in:
parent
971bcff180
commit
00478c2ea8
@ -5,6 +5,10 @@ A good rule of thumb is to ask "does Javascript have a built-in function for
|
|||||||
this?". If yes, then your implementation probably belongs here.
|
this?". If yes, then your implementation probably belongs here.
|
||||||
]]--
|
]]--
|
||||||
|
|
||||||
|
---
|
||||||
|
-- @module worldeditadditions_core
|
||||||
|
|
||||||
|
|
||||||
--- Pads str to length len with char from right
|
--- Pads str to length len with char from right
|
||||||
-- @source https://snipplr.com/view/13092/strlpad--pad-string-to-the-left
|
-- @source https://snipplr.com/view/13092/strlpad--pad-string-to-the-left
|
||||||
local function str_padend(str, len, char)
|
local function str_padend(str, len, char)
|
||||||
|
Loading…
Reference in New Issue
Block a user