mol_tree2 1.0.109 → 1.0.110

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/node.test.js CHANGED
@@ -1862,7 +1862,8 @@ var $;
1862
1862
  if (key === 'id')
1863
1863
  continue;
1864
1864
  if (typeof props[key] === 'string') {
1865
- ;
1865
+ if (key in node)
1866
+ node[key] = props[key];
1866
1867
  node.setAttribute(key, props[key]);
1867
1868
  }
1868
1869
  else if (props[key] &&