@joyzl/eno 1.2.5 → 1.2.6

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.
Files changed (2) hide show
  1. package/index.js +4 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -811,6 +811,10 @@ function setEntity(element, entity, converter) {
811
811
  }
812
812
  }
813
813
  }
814
+ name = element.getAttribute("case");
815
+ if (name && name.length) {
816
+ converter(element, entity, name);
817
+ }
814
818
  if (element.childElementCount) {
815
819
  for (let i = 0; i < element.children.length; i++) {
816
820
  setEntity(element.children[i], entity, converter);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@joyzl/eno",
3
- "version": "1.2.5",
3
+ "version": "1.2.6",
4
4
  "description": "Easy Node Object",
5
5
  "main": "dist/joyzl-eno.js",
6
6
  "module": "index.js",