Add make.text.chars
This commit is contained in:
parent
52257b6d95
commit
6c009be41d
1 changed files with 10 additions and 0 deletions
|
@ -178,5 +178,15 @@ make.text = {
|
||||||
'USD', 'USS', 'USN', 'EUR', 'CHF', 'GBP', 'XAG', 'XBA', 'XBB', 'XBC',
|
'USD', 'USS', 'USN', 'EUR', 'CHF', 'GBP', 'XAG', 'XBA', 'XBB', 'XBC',
|
||||||
'XBD', 'XSU', 'XTS', 'XXX'
|
'XBD', 'XSU', 'XTS', 'XXX'
|
||||||
])
|
])
|
||||||
|
},
|
||||||
|
chars: function() {
|
||||||
|
return random.pick([
|
||||||
|
make.text.controlChar,
|
||||||
|
make.text.token,
|
||||||
|
make.text.assignmentOperator,
|
||||||
|
make.text.arithmeticOperator,
|
||||||
|
String.fromCharCode(make.text.layoutCharCodes),
|
||||||
|
String.fromCharCode(make.text.bidiCharCodes),
|
||||||
|
]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue