Fix standard style issues

This commit is contained in:
pyoor 2017-06-01 13:30:04 -04:00
parent be4fef5d86
commit ade22d6dc4
2 changed files with 11 additions and 11 deletions

View File

@ -107,7 +107,7 @@ make.text = {
0x0030, // START_ARABIC_DIGITS
0x0039, // END_ARABIC_DIGITS
0x06f0, // START_FARSI_DIGITS
0x06f9, // END_FARSI_DIGITS
0x06f9 // END_FARSI_DIGITS
])
},
// http://www.unicode.org/Public/6.0.0/ucd/UnicodeData.txt
@ -198,18 +198,18 @@ make.text = {
make.text.assignmentOperator,
make.text.arithmeticOperator,
String.fromCharCode(make.text.layoutCharCodes),
String.fromCharCode(make.text.bidiCharCodes),
]);
String.fromCharCode(make.text.bidiCharCodes)
])
},
any: function () {
// Generate a string compromised of random individual characters
// This might be too slow to used for all 'texts' uses
let s = '';
let s = ''
// TODO: Len calculation take from DOMFuzz - maybe we should revise this?
let len = random.number(1000) * random.number(10) + random.number(10)
for (let i = 0; i < len; i++) {
s += make.text.chars()
}
return s;
return s
}
}