chore(cube): remove unused function
This commit is contained in:
parent
2b130a24e6
commit
445d7bef78
@ -1,4 +1,4 @@
|
||||
local _VERSION = '1.3.0';
|
||||
local _VERSION = '1.4.0';
|
||||
local CUBE_CHANNEL = 64;
|
||||
|
||||
local net = require('/apis/net')();
|
||||
@ -17,18 +17,6 @@ local leftPad = function(str, len, char)
|
||||
return str;
|
||||
end
|
||||
|
||||
--- Pads str to length len with char from left
|
||||
local rightPad = function(str, len, char)
|
||||
if char == nil then char = ' ' end
|
||||
local nbRepetition = len - #str;
|
||||
|
||||
if nbRepetition > 0 then
|
||||
return string.rep(char, len - #str) .. str
|
||||
end
|
||||
|
||||
return str;
|
||||
end
|
||||
|
||||
local function getRow(margin, str1, str2, str3)
|
||||
|
||||
margin = margin or '';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user