mirror of
https://github.com/KevinMidboe/seasoned.git
synced 2026-03-11 20:05:39 +00:00
Feat: vite & upgraded dependencies (#100)
* On every route change, update local variables from query params * ResultSection is keyed to query to force re-render * Resolved lint warnings * replace webpack w/ vite * update all imports with alias @ and scss * vite environment variables, also typed * upgraded eslint, defined new rules & added ignore comments * resolved linting issues * moved index.html to project root * updated dockerfile w/ build stage before runtime image definition * sign drone config
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
let setValue = function(el, binding) {
|
||||
let img = new Image();
|
||||
/*
|
||||
const setValue = function(el, binding) {
|
||||
const img = new Image();
|
||||
img.src = binding.value;
|
||||
|
||||
img.onload = function() {
|
||||
@@ -10,10 +11,11 @@ let setValue = function(el, binding) {
|
||||
|
||||
module.exports = {
|
||||
isLiteral: true,
|
||||
bind(el, binding){
|
||||
bind(el, binding) {
|
||||
setValue(el, binding);
|
||||
},
|
||||
update(el, binding){
|
||||
update(el, binding) {
|
||||
setValue(el, binding);
|
||||
}
|
||||
}
|
||||
};
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user