Corrected jshint warnings
This commit is contained in:
parent
93bcec2976
commit
b4d8415fb3
1 changed files with 5 additions and 5 deletions
|
@ -39,7 +39,7 @@ make.network = {
|
||||||
].join("\n");
|
].join("\n");
|
||||||
},
|
},
|
||||||
PeerConnectionProtocols: function () {
|
PeerConnectionProtocols: function () {
|
||||||
return ["turn", "turns", "stun", "stuns"]
|
return ["turn", "turns", "stun", "stuns"];
|
||||||
},
|
},
|
||||||
randomIPv4: function () {
|
randomIPv4: function () {
|
||||||
return random.pick([random.number(255), make.numbers.number]) + "." +
|
return random.pick([random.number(255), make.numbers.number]) + "." +
|
||||||
|
@ -49,14 +49,14 @@ make.network = {
|
||||||
},
|
},
|
||||||
randomIPv6: function () {
|
randomIPv6: function () {
|
||||||
return "[" + make.stringFromBlocks([":", function () {
|
return "[" + make.stringFromBlocks([":", function () {
|
||||||
return make.strings.digitsHex(random.range(1, 4))
|
return make.strings.digitsHex(random.range(1, 4));
|
||||||
}]) + "]"
|
}]) + "]";
|
||||||
},
|
},
|
||||||
goodHostnames: function () {
|
goodHostnames: function () {
|
||||||
return [
|
return [
|
||||||
"0.0.0.0",
|
"0.0.0.0",
|
||||||
"127.0.0.1:8080",
|
"127.0.0.1:8080",
|
||||||
]
|
];
|
||||||
},
|
},
|
||||||
badHostnames: function () {
|
badHostnames: function () {
|
||||||
return [
|
return [
|
||||||
|
@ -71,7 +71,7 @@ make.network = {
|
||||||
"::ffff:192.0.2.128",
|
"::ffff:192.0.2.128",
|
||||||
"2001:db8::1:2",
|
"2001:db8::1:2",
|
||||||
"2001:db8::1:1:1:1:1"
|
"2001:db8::1:1:1:1:1"
|
||||||
]
|
];
|
||||||
},
|
},
|
||||||
randomBitmask: function (list) {
|
randomBitmask: function (list) {
|
||||||
if (list.length <= 1) {
|
if (list.length <= 1) {
|
||||||
|
|
Loading…
Reference in a new issue