mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-07-03 17:26:37 -04:00
shift asset processing to webpack (#424)
also migrated SASS to latest syntax (via dart-sass) and vastly simplified light/dark theme logic
This commit is contained in:
6
assets/js/vendor/twemoji.js
vendored
6
assets/js/vendor/twemoji.js
vendored
@ -1,4 +1,4 @@
|
||||
/*! Copyright Twitter Inc. and other contributors. Licensed under MIT *//*
|
||||
/* Copyright Twitter Inc. and other contributors. Licensed under MIT *//*
|
||||
https://github.com/twitter/twemoji/blob/gh-pages/LICENSE
|
||||
*/
|
||||
|
||||
@ -12,7 +12,7 @@
|
||||
/////////////////////////
|
||||
|
||||
// default assets url, by default will be Twitter Inc. CDN
|
||||
base: '/vendor/emoji/',
|
||||
base: '/assets/emoji/',
|
||||
|
||||
// default assets file extensions, by default '.png'
|
||||
ext: '.svg',
|
||||
@ -265,7 +265,7 @@
|
||||
* @return string the image source to use
|
||||
*/
|
||||
function defaultImageSrcGenerator(icon, options) {
|
||||
return ''.concat(options.base, options.size, '/', icon, options.ext);
|
||||
return ''.concat(options.base, icon, options.ext);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user