@yanqirenshi/d3.ter 0.1.9 → 0.1.10

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/js/Entity.js CHANGED
@@ -421,6 +421,13 @@ var Entity = /*#__PURE__*/function (_Atman) {
421
421
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
422
422
  var attribute = _step2.value;
423
423
  var master = masters[attribute.attribute];
424
+
425
+ if (!master) {
426
+ console.error(this);
427
+ console.error(attribute);
428
+ throw new Error('Attribute not found: ' + attribute.attribute);
429
+ }
430
+
424
431
  var element = new _AttributeInstance["default"](master, attribute);
425
432
  element._entity = this;
426
433
  out.list.push(element);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yanqirenshi/d3.ter",
3
- "version": "0.1.9",
3
+ "version": "0.1.10",
4
4
  "author": "yanqirenshi@gmail.com",
5
5
  "license": "GPL-3.0-or-later",
6
6
  "description": "See `src/index.html`",