mirror of
https://github.com/KevinMidboe/seasoned.git
synced 2026-03-11 11:55:38 +00:00
upgraded eslint, defined new rules & added ignore comments
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
/*
|
||||
let setValue = function(el, binding) {
|
||||
let value = binding.value;
|
||||
let dateArray = value.split('-');
|
||||
@@ -13,3 +14,4 @@ module.exports = {
|
||||
setValue(el, binding);
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
@@ -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