mol_regexp 0.0.573 → 0.0.574

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
@@ -898,7 +898,7 @@ var $;
898
898
  if (key === 'id')
899
899
  continue;
900
900
  if (typeof props[key] === 'string') {
901
- if (key in node)
901
+ if (typeof node[key] === 'string')
902
902
  node[key] = props[key];
903
903
  node.setAttribute(key, props[key]);
904
904
  }