weac/polyfill: add @module so it appears in the Lua API

This commit is contained in:
Starbeamrainbowlabs 2024-05-25 14:06:57 +01:00
parent 971bcff180
commit 00478c2ea8
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -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)