Merge pull request #87 from AAVikings/master

Adding pad function
This commit is contained in:
benme authored and GitHub committed 2019-04-24 13:29:50 -03:00
commit 83c8eec751
1 file changed
+6 -1
+6 -1
View File
@@ -379,7 +379,7 @@
periodsControlLoop();
return;
}
}
}
let dependencyIndex = 0;
dataFiles = [];
@@ -772,4 +772,9 @@
callBackFunction(global.DEFAULT_FAIL_RESPONSE);
}
}
function pad(str, max) {
str = str.toString();
return str.length < max ? pad(" " + str, max) : str;
}
};