anbani
Version:
Multifunctional javascript toolkit for Georgian Alphabet - Anbani
28 lines (24 loc) • 837 B
HTML
<html lang="en">
<head>
<script type="module">
import anbaniUMD from "../dist/anbani.js";
</script>
<script type="module">
import anbaniMJS from "../src/anbani.mjs";
</script>
<script src="../dist/anbani.js"></script>
</head>
<body style="background-color: #212121;">
<h1 style="word-wrap:break-word; color:#ccc"></h1>
<script>
window.onload = function () {
console.log(
"if all else fails, good old global import should still work on webpack bundle",
window.anbani
);
document.querySelector("h1").innerHTML = `${anbani.ab.letters.asomtavruli.slice(0,33)}${anbani.ab.letters.mtavruli.slice(0,33)}${anbani.ab.letters.mkhedruli.slice(0,33)}${anbani.ab.letters.nuskhuri.slice(0,33)}`
};
</script>
</body>
</html>