mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-06-30 02:05:57 -04:00
use standard twemoji module from NPM
This commit is contained in:
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
import "./src/counter.js";
|
import "./src/counter.js";
|
||||||
import "./src/projects.js";
|
import "./src/projects.js";
|
||||||
import "./vendor/twemoji.js";
|
import "./src/emoji.js";
|
||||||
|
|
||||||
export default () => {};
|
export default () => {};
|
||||||
|
|||||||
@@ -0,0 +1,8 @@
|
|||||||
|
import twemoji from "twemoji";
|
||||||
|
|
||||||
|
twemoji.parse(document.body, {
|
||||||
|
callback: function (icon, options) {
|
||||||
|
// simpler relative URIs
|
||||||
|
return "/assets/emoji/" + icon + ".svg";
|
||||||
|
},
|
||||||
|
});
|
||||||
Vendored
-557
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user