mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-12-23 03:55:01 +00:00
weac/polyfill: add @module so it appears in the Lua API
This commit is contained in:
parent
971bcff180
commit
00478c2ea8
1 changed files with 4 additions and 0 deletions
|
@ -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.
|
||||
]]--
|
||||
|
||||
---
|
||||
-- @module worldeditadditions_core
|
||||
|
||||
|
||||
--- Pads str to length len with char from right
|
||||
-- @source https://snipplr.com/view/13092/strlpad--pad-string-to-the-left
|
||||
local function str_padend(str, len, char)
|
||||
|
|
Loading…
Reference in a new issue