fix: Previous definitions and version
This commit is contained in:
parent
66b92401bb
commit
dfc13e6158
2 changed files with 7 additions and 4 deletions
9
index.js
9
index.js
|
|
@ -1,6 +1,9 @@
|
|||
const HIPPIE = (function () {
|
||||
'use strict';
|
||||
|
||||
const onerowAlphabet = "/\\ ]3 ( |) [- /= (_, |-| | _T /< |_ |\\/| |\\| () |^ ()_ /? _\\~ ~|~ |_| \\/ \\/\\/ >< `/ ~/_ ";
|
||||
const onerowDigits = "(\\) \'| ^/_1 -} +| ;~ (o \"/ {} \"| ";
|
||||
|
||||
function mapStringToValues(input, values) {
|
||||
if (typeof values === 'string') {
|
||||
values = values.split(' ');
|
||||
|
|
@ -28,8 +31,8 @@ const HIPPIE = (function () {
|
|||
|
||||
return {
|
||||
mapStringToValues: mapStringToValues,
|
||||
onerowAlphabet: "/\\ ]3 ( |) [- /= (_, |-| | _T /< |_ |\\/| |\\| () |^ ()_ /? _\\~ ~|~ |_| \\/ \\/\\/ >< `/ ~/_ ",
|
||||
onerowDigits: "(\\) \'| ^/_1 -} +| ;~ (o \"/ {} \"| ",
|
||||
brand: mapStringToValues('h i p p i e', this.onerowAlphabet)
|
||||
alphabet: onerowAlphabet,
|
||||
digits: onerowDigits,
|
||||
brand: mapStringToValues('h i p p i e', onerowAlphabet + onerowDigits)
|
||||
};
|
||||
})();
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "hippie-script",
|
||||
"version": "1.0.0",
|
||||
"version": "1.2.1",
|
||||
"description": "Where the script things of HIPPIE are",
|
||||
"keywords": [
|
||||
"hippie",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue