cyc-type-def 6.1.0 → 6.1.1
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/index.cjs +3 -3
- package/dist/index.js +3 -3
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -447,9 +447,9 @@ var Sheep = class {
|
|
|
447
447
|
this.init();
|
|
448
448
|
}
|
|
449
449
|
init() {
|
|
450
|
-
this.firstApproach = new DateEvent();
|
|
451
|
-
this.firstAtt = new DateEvent();
|
|
452
|
-
this.acceptChrist = new DateEvent();
|
|
450
|
+
if (!this.firstApproach) this.firstApproach = new DateEvent();
|
|
451
|
+
if (!this.firstAtt) this.firstAtt = new DateEvent();
|
|
452
|
+
if (!this.acceptChrist) this.acceptChrist = new DateEvent();
|
|
453
453
|
}
|
|
454
454
|
};
|
|
455
455
|
|
package/dist/index.js
CHANGED
|
@@ -385,9 +385,9 @@ var Sheep = class {
|
|
|
385
385
|
this.init();
|
|
386
386
|
}
|
|
387
387
|
init() {
|
|
388
|
-
this.firstApproach = new DateEvent();
|
|
389
|
-
this.firstAtt = new DateEvent();
|
|
390
|
-
this.acceptChrist = new DateEvent();
|
|
388
|
+
if (!this.firstApproach) this.firstApproach = new DateEvent();
|
|
389
|
+
if (!this.firstAtt) this.firstAtt = new DateEvent();
|
|
390
|
+
if (!this.acceptChrist) this.acceptChrist = new DateEvent();
|
|
391
391
|
}
|
|
392
392
|
};
|
|
393
393
|
|