aboutsummaryrefslogtreecommitdiff
path: root/node_modules.patch
diff options
context:
space:
mode:
authorbozo.kopic <bozo.kopic@gmail.com>2020-04-11 02:42:27 +0200
committerbozo.kopic <bozo.kopic@gmail.com>2020-04-11 02:42:27 +0200
commit816d4add6f017775bc1f6607e392bfb71e393ffa (patch)
tree33a25a5b7420c9a1d4d606b312748a5a7426a0b8 /node_modules.patch
parentf8ab65b277c2eb7b9ed0e6d78f0302d388e0eff0 (diff)
repository refactoring
Diffstat (limited to 'node_modules.patch')
-rw-r--r--node_modules.patch41
1 files changed, 0 insertions, 41 deletions
diff --git a/node_modules.patch b/node_modules.patch
deleted file mode 100644
index 5391749..0000000
--- a/node_modules.patch
+++ /dev/null
@@ -1,41 +0,0 @@
---- node_modules/snabbdom/es/modules/props.js
-+++ node_modules/snabbdom/es/modules/props.js
-@@ -8,7 +8,11 @@
- props = props || {};
- for (key in oldProps) {
- if (!props[key]) {
-- delete elm[key];
-+ if (key === 'style') {
-+ elm[key] = '';
-+ } else {
-+ delete elm[key];
-+ }
- }
- }
- for (key in props) {
-
-
---- node_modules/snabbdom/es/modules/attributes.js
-+++ node_modules/snabbdom/es/modules/attributes.js
-@@ -22,20 +22,7 @@
- elm.removeAttribute(key);
- }
- else {
-- if (key.charCodeAt(0) !== xChar) {
-- elm.setAttribute(key, cur);
-- }
-- else if (key.charCodeAt(3) === colonChar) {
-- // Assume xml namespace
-- elm.setAttributeNS(xmlNS, key, cur);
-- }
-- else if (key.charCodeAt(5) === colonChar) {
-- // Assume xlink namespace
-- elm.setAttributeNS(xlinkNS, key, cur);
-- }
-- else {
-- elm.setAttribute(key, cur);
-- }
-+ elm.setAttribute(key, cur);
- }
- }
- }