From 2797f4724ba82091cdc9ac7a79e557808c201aa1 Mon Sep 17 00:00:00 2001 From: zhang lu Date: Tue, 20 Aug 2024 11:47:07 +0800 Subject: [PATCH 1/2] Update index.js --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 77e3a51..fd87d1f 100644 --- a/index.js +++ b/index.js @@ -4,7 +4,7 @@ function $$(expr, con) { return [].slice.call((con || document).querySelectorAll var css = []; $$('a[data-property]').forEach(function(el, i){ - var property = el.getAttribute('data-property'), + `var property = el.getAttribute('data-property'), from = el.getAttribute('data-from'), to = el.getAttribute('data-to'); From aa1e642199efa53795b9b8b9977d9bc08f3d5abb Mon Sep 17 00:00:00 2001 From: zhang lu Date: Tue, 20 Aug 2024 15:29:57 +0800 Subject: [PATCH 2/2] Update index.js --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index fd87d1f..77e3a51 100644 --- a/index.js +++ b/index.js @@ -4,7 +4,7 @@ function $$(expr, con) { return [].slice.call((con || document).querySelectorAll var css = []; $$('a[data-property]').forEach(function(el, i){ - `var property = el.getAttribute('data-property'), + var property = el.getAttribute('data-property'), from = el.getAttribute('data-from'), to = el.getAttribute('data-to');