fix: Previous definitions and version

This commit is contained in:
sthag 2025-11-03 19:29:36 +01:00
parent 66b92401bb
commit dfc13e6158
2 changed files with 7 additions and 4 deletions

View file

@ -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)
};
})();

View file

@ -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",