update documentation

This commit is contained in:
Kevin Jahns
2016-01-16 01:40:26 +01:00
parent 0398b5260a
commit 190442a58d
2 changed files with 39 additions and 58 deletions

View File

@@ -77,6 +77,12 @@ function getRandomNumber (n) {
}
g.getRandomNumber = getRandomNumber
function getRandomString () {
var tokens = 'abcdefäö' // ü\n\n\n\n\n\n\n'
return tokens[getRandomNumber(tokens.length - 1)]
}
g.getRandomString = getRandomString
function * applyTransactions (relAmount, numberOfTransactions, objects, users, transactions) {
function randomTransaction (root) {
var f = getRandom(transactions)