Corrected jshint warnings

This commit is contained in:
pyoor 2017-04-24 11:06:58 -04:00
parent 96d746c033
commit ddbbe9f22b

View file

@ -120,13 +120,13 @@ make.text = {
[0x1D17B, 0x1D18B], [0x1D17B, 0x1D18B],
[0x1D1AA, 0x1D1AD], [0x1D1AA, 0x1D1AD],
[0x1D242, 0x1D244] [0x1D242, 0x1D244]
]) ]);
}, },
unicodeBMP: function () { unicodeBMP: function () {
return random.item([ return random.item([
// BMP = Basic Multilingual Plane // BMP = Basic Multilingual Plane
[0x0000, 0xFFFF] [0x0000, 0xFFFF]
]) ]);
}, },
unicodeSMP: function () { unicodeSMP: function () {
return random.item([ return random.item([
@ -136,20 +136,20 @@ make.text = {
[0x1B000, 0x1BFFF], [0x1B000, 0x1BFFF],
[0x1D000, 0x1DFFF], [0x1D000, 0x1DFFF],
[0x1F000, 0x1FFFF] [0x1F000, 0x1FFFF]
]) ]);
}, },
unicodeSIP: function () { unicodeSIP: function () {
return random.item([ return random.item([
// SIP = Supplementary Ideographic Plane // SIP = Supplementary Ideographic Plane
[0x20000, 0x2BFFF], [0x20000, 0x2BFFF],
[0x2F000, 0x2FFFF] [0x2F000, 0x2FFFF]
]) ]);
}, },
unicodeSSP: function () { unicodeSSP: function () {
return random.item([ return random.item([
// SSP = Supplementary Special-purpose Plane // SSP = Supplementary Special-purpose Plane
[0xE0000, 0xE0FFF] [0xE0000, 0xE0FFF]
]) ]);
}, },
registeredFontFeatures: function () { registeredFontFeatures: function () {
return random.pick([ return random.pick([
@ -168,23 +168,23 @@ make.text = {
'ss14', 'ss15', 'ss16', 'ss17', 'ss18', 'ss19', 'ss20', 'subs', 'sups', 'ss14', 'ss15', 'ss16', 'ss17', 'ss18', 'ss19', 'ss20', 'subs', 'sups',
'swsh', 'titl', 'tjmo', 'tnam', 'tnum', 'trad', 'twid', 'unic', 'valt', 'swsh', 'titl', 'tjmo', 'tnam', 'tnum', 'trad', 'twid', 'unic', 'valt',
'vatu', 'vert', 'vhal', 'vjmo', 'vkna', 'vkrn', 'vpal', 'vrt2', 'zero' 'vatu', 'vert', 'vhal', 'vjmo', 'vkna', 'vkrn', 'vpal', 'vrt2', 'zero'
]) ]);
}, },
assignmentOperator: function () { assignmentOperator: function () {
return random.pick([ return random.pick([
"=", "-=", "+=", "*=", "/=" "=", "-=", "+=", "*=", "/="
]) ]);
}, },
arithmeticOperator: function () { arithmeticOperator: function () {
return random.pick([ return random.pick([
"%", "-", "+", "*", "/" "%", "-", "+", "*", "/"
]) ]);
}, },
currency: function () { currency: function () {
return random.pick([ return random.pick([
// https://en.wikipedia.org/wiki/ISO_4217 // https://en.wikipedia.org/wiki/ISO_4217
"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",
]) ]);
}, },
}; };