]> git.r.bdr.sh - rbdr/forum/blobdiff - app/utils/glyph_hash.js
Add svelte linting
[rbdr/forum] / app / utils / glyph_hash.js
index c074376a616676992cb2657976a1a927857ed1ae..120c02ace705490c7ceeea0a723554ae48aa2504 100644 (file)
@@ -1,22 +1,22 @@
 const internals = {
   kSplitterRegex: /.{1,8}/g,
   kGlyphs: [
 const internals = {
   kSplitterRegex: /.{1,8}/g,
   kGlyphs: [
-    "☽",
-    "☆",
-    "♢",
-    "♡",
-    "╱",
-    "╲",
-    "╳",
-    "〰",
-    "▷",
-    "⏊",
-    "〒",
-    "▢",
-    "◯",
-    "⏃",
-    "⏀",
-    "⏆"
+    '☽',
+    '☆',
+    '♢',
+    '♡',
+    '╱',
+    '╲',
+    '╳',
+    '〰',
+    '▷',
+    '⏊',
+    '〒',
+    '▢',
+    '◯',
+    '⏃',
+    '⏀',
+    '⏆'
   ]
 };
 
   ]
 };
 
@@ -27,7 +27,7 @@ const getGlyphHashFragment = function (uuidFragment) {
   return {
     glyph: internals.kGlyphs[glyphIndex],
     color: `#${uuidFragment.substring(2,8)}`
   return {
     glyph: internals.kGlyphs[glyphIndex],
     color: `#${uuidFragment.substring(2,8)}`
-  }
+  };
 };
 
 // Return an array of glyphs based on a UUIDv4
 };
 
 // Return an array of glyphs based on a UUIDv4