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 () {
|
const HIPPIE = (function () {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
|
const onerowAlphabet = "/\\ ]3 ( |) [- /= (_, |-| | _T /< |_ |\\/| |\\| () |^ ()_ /? _\\~ ~|~ |_| \\/ \\/\\/ >< `/ ~/_ ";
|
||||||
|
const onerowDigits = "(\\) \'| ^/_1 -} +| ;~ (o \"/ {} \"| ";
|
||||||
|
|
||||||
function mapStringToValues(input, values) {
|
function mapStringToValues(input, values) {
|
||||||
if (typeof values === 'string') {
|
if (typeof values === 'string') {
|
||||||
values = values.split(' ');
|
values = values.split(' ');
|
||||||
|
|
@ -28,8 +31,8 @@ const HIPPIE = (function () {
|
||||||
|
|
||||||
return {
|
return {
|
||||||
mapStringToValues: mapStringToValues,
|
mapStringToValues: mapStringToValues,
|
||||||
onerowAlphabet: "/\\ ]3 ( |) [- /= (_, |-| | _T /< |_ |\\/| |\\| () |^ ()_ /? _\\~ ~|~ |_| \\/ \\/\\/ >< `/ ~/_ ",
|
alphabet: onerowAlphabet,
|
||||||
onerowDigits: "(\\) \'| ^/_1 -} +| ;~ (o \"/ {} \"| ",
|
digits: onerowDigits,
|
||||||
brand: mapStringToValues('h i p p i e', this.onerowAlphabet)
|
brand: mapStringToValues('h i p p i e', onerowAlphabet + onerowDigits)
|
||||||
};
|
};
|
||||||
})();
|
})();
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "hippie-script",
|
"name": "hippie-script",
|
||||||
"version": "1.0.0",
|
"version": "1.2.1",
|
||||||
"description": "Where the script things of HIPPIE are",
|
"description": "Where the script things of HIPPIE are",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"hippie",
|
"hippie",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue