Skip to content

Commit

Permalink
Linting and tidy up
Browse files Browse the repository at this point in the history
  • Loading branch information
n1073645 committed Dec 5, 2019
1 parent 1118ff5 commit 47ccafc
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 24 deletions.
17 changes: 0 additions & 17 deletions src/core/operations/FromBase85.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -33,23 +33,6 @@ class FromBase85 extends Operation {
value: ALPHABET_OPTIONS
},
];
this.patterns = [
{
match: "^\\s*(<~)?([!-u]{4})+([!-u]{1,3})??(~>)?\\s*$",
flags: "",
args: ["!-u", true]
},
{
match: "^\\s*(<~)?([0-9A-Z.-:+=^!/*?&<>()[]{}@%$#]{4})+([0-9A-Z.-:+=^!/*?&<>()[]{}@%$#]{1,3})??(~>)?\\s*$",
flags: "i",
args: ["0-9a-zA-Z.-:+=^!/*?&<>()[]{}@%$#", true]
},
{
match: "^\\s*(<~)?([0-9A-Z.-:+=^!/*?&_<>()[]{}@%$#;`|~]{4})+([0-9A-Z.-:+=^!/*?&_<>()[]{}@%$#;`|~]{1,3})??(~>)?\\s*$",
flags: "i",
args: ["0-9A-Za-z!#$%&()*+-;<=>?@^_`{|~}", true]
}
];
}

/**
Expand Down
7 changes: 0 additions & 7 deletions src/core/operations/FromBraille.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,6 @@ class FromBraille extends Operation {
this.inputType = "string";
this.outputType = "string";
this.args = [];
this.patterns = [
{
match: "^\\s*[⠀⠁⠂⠃⠄⠅⠆⠇⠈⠉⠊⠋⠌⠍⠎⠏⠐⠑⠒⠓⠔⠕⠖⠗⠘⠙⠚⠛⠜⠝⠞⠟⠠⠡⠢⠣⠤⠥⠦⠧⠨⠩⠪⠫⠬⠭⠮⠯⠰⠱⠲⠳⠴⠵⠶⠷⠸⠹⠺⠻⠼⠽⠾⠿]+\\s*$",
flags: "i",
args: [true]
}
];
}

/**
Expand Down

0 comments on commit 47ccafc

Please sign in to comment.