@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 +7 -0
- package/package.json +1 -1
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);
|