mirror of
https://github.com/twitter/twemoji.git
synced 2024-11-16 11:18:37 +00:00
Fix preview maxcdn links + svg asset path
This commit is contained in:
parent
a10463bdbc
commit
54b69b0d73
@ -25,7 +25,7 @@
|
|||||||
vertical-align: -0.1em;
|
vertical-align: -0.1em;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<script src="https://twemoji.maxcdn.com/12.0.4/twemoji.min.js" crossorigin="anonymous"></script>
|
<script src="https://twemoji.maxcdn.com/v/latest/twemoji.min.js" crossorigin="anonymous"></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<ul class="emoji-list">
|
<ul class="emoji-list">
|
||||||
@ -3109,7 +3109,7 @@
|
|||||||
var ul = document.getElementsByTagName('ul')[0];
|
var ul = document.getElementsByTagName('ul')[0];
|
||||||
var total = ul.getElementsByTagName('li').length;
|
var total = ul.getElementsByTagName('li').length;
|
||||||
var elapsed = +new Date;
|
var elapsed = +new Date;
|
||||||
twemoji.parse(ul, {"folder":"../svg","ext":".svg","base":""});
|
twemoji.parse(ul, {"folder":"../../assets/svg","ext":".svg","base":""});
|
||||||
elapsed = (+new Date) - elapsed;
|
elapsed = (+new Date) - elapsed;
|
||||||
document.body.insertBefore(
|
document.body.insertBefore(
|
||||||
document.createTextNode(total + ' emoji parsed in ' + elapsed + 'ms'),
|
document.createTextNode(total + ' emoji parsed in ' + elapsed + 'ms'),
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
vertical-align: -0.1em;
|
vertical-align: -0.1em;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<script src="https://twemoji.maxcdn.com/12.0.4/twemoji.min.js" crossorigin="anonymous"></script>
|
<script src="https://twemoji.maxcdn.com/v/latest/twemoji.min.js" crossorigin="anonymous"></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<ul class="emoji-list">
|
<ul class="emoji-list">
|
||||||
|
Loading…
Reference in New Issue
Block a user