Corrected jshint warnings

This commit is contained in:
pyoor 2017-04-24 11:10:52 -04:00
parent 93bcec2976
commit b4d8415fb3

View file

@ -39,7 +39,7 @@ make.network = {
].join("\n");
},
PeerConnectionProtocols: function () {
return ["turn", "turns", "stun", "stuns"]
return ["turn", "turns", "stun", "stuns"];
},
randomIPv4: function () {
return random.pick([random.number(255), make.numbers.number]) + "." +
@ -49,14 +49,14 @@ make.network = {
},
randomIPv6: function () {
return "[" + make.stringFromBlocks([":", function () {
return make.strings.digitsHex(random.range(1, 4))
}]) + "]"
return make.strings.digitsHex(random.range(1, 4));
}]) + "]";
},
goodHostnames: function () {
return [
"0.0.0.0",
"127.0.0.1:8080",
]
];
},
badHostnames: function () {
return [
@ -71,7 +71,7 @@ make.network = {
"::ffff:192.0.2.128",
"2001:db8::1:2",
"2001:db8::1:1:1:1:1"
]
];
},
randomBitmask: function (list) {
if (list.length <= 1) {