feature (orgmode): making org mode awesome from a browser

This commit is contained in:
Mickael KERJEAN
2018-05-02 20:55:43 +10:00
parent db44e0b7e3
commit 8b313c6bef
39 changed files with 866 additions and 255 deletions

4
client/helpers/common.js Normal file
View File

@ -0,0 +1,4 @@
export function leftPad(str, length, pad = "0"){
if(typeof str !== 'string' || typeof pad !== 'string' || str.length >= length || !pad.length > 0) return str;
return leftPad(pad + str, length, pad);
}