Removed unnecessary whitespace
parent
fe4c5f5899
commit
5e7f8e3976
|
@ -13,7 +13,7 @@ import Utils from "./Utils.js";
|
|||
*/
|
||||
const Dish = function(value, type) {
|
||||
this.value = value || typeof value == "string" ? value : null;
|
||||
this.type = type || Dish.BYTE_ARRAY;
|
||||
this.type = type || Dish.BYTE_ARRAY;
|
||||
};
|
||||
|
||||
|
||||
|
@ -101,7 +101,7 @@ Dish.enumLookup = function(typeEnum) {
|
|||
*/
|
||||
Dish.prototype.set = function(value, type) {
|
||||
this.value = value;
|
||||
this.type = type;
|
||||
this.type = type;
|
||||
|
||||
if (!this.valid()) {
|
||||
const sample = Utils.truncate(JSON.stringify(this.value), 13);
|
||||
|
|
|
@ -186,7 +186,7 @@ const ByteRepr = {
|
|||
// 0x and \x are added to the beginning if they are selected, so increment the positions accordingly
|
||||
if (delim === "0x" || delim === "\\x") {
|
||||
pos[0].start += 2;
|
||||
pos[0].end += 2;
|
||||
pos[0].end += 2;
|
||||
}
|
||||
return pos;
|
||||
},
|
||||
|
|
|
@ -16,7 +16,7 @@ const Numberwang = {
|
|||
run: function(input, args) {
|
||||
let output;
|
||||
if (!input) {
|
||||
output = "Let's play Wangernumb!";
|
||||
output = "Let's play Wangernumb!";
|
||||
} else {
|
||||
const match = input.match(/(f0rty-s1x|shinty-six|filth-hundred and neeb|-?√?\d+(\.\d+)?i?([a-z]?)%?)/i);
|
||||
if (match) {
|
||||
|
|
Loading…
Reference in New Issue