mark-fe-fwk 2.0.4 → 2.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/mark-fe-fwk.js +2 -2
- package/package.json +1 -1
package/dist/mark-fe-fwk.js
CHANGED
|
@@ -275,7 +275,7 @@ function setAttributes(el, attrs) {
|
|
|
275
275
|
setClass(el, className);
|
|
276
276
|
}
|
|
277
277
|
if (style) {
|
|
278
|
-
Object.entries(style).forEach(([
|
|
278
|
+
Object.entries(style).forEach(([prop, value]) => {
|
|
279
279
|
setStyle(el, prop, value);
|
|
280
280
|
});
|
|
281
281
|
}
|
|
@@ -446,7 +446,7 @@ function patchElement(oldVdom, newVdom) {
|
|
|
446
446
|
style: oldStyle,
|
|
447
447
|
on: oldEvents,
|
|
448
448
|
...oldAttrs
|
|
449
|
-
} =
|
|
449
|
+
} = oldVdom.props;
|
|
450
450
|
const {
|
|
451
451
|
class: newClass,
|
|
452
452
|
style: newStyle,
|