mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-12 11:15:14 +00:00
update shimport, minor tidy up
This commit is contained in:
@@ -3,11 +3,6 @@ export function left_pad(str: string, len: number) {
|
||||
return str;
|
||||
}
|
||||
|
||||
export function right_pad(str: string, len: number) {
|
||||
while (str.length < len) str += ' ';
|
||||
return str;
|
||||
}
|
||||
|
||||
export function repeat(str: string, i: number) {
|
||||
let result = '';
|
||||
while (i--) result += str;
|
||||
|
||||
Reference in New Issue
Block a user