1
0
mirror of https://github.com/twitter/twemoji.git synced 2024-11-16 20:25:58 +00:00

Remove dead code

This commit is contained in:
Nathan Downs 2019-05-29 16:50:28 -07:00
parent 11966415cc
commit 523e8f703c

View File

@ -57,9 +57,7 @@ if (digest.status || digest.signal){
throw new Error(digest.stderr.toString('utf8'));
}
const integrityHash = digest.stdout.toString('base64');
const integrity = ``;
const { version } = require('../../package.json');
const src = ``
function updateScript(filename) {
const newScript = `<script src="https://twemoji.maxcdn.com/2/twemoji.min.js?${version}" integrity="${algorithm}-${integrityHash}"`