Skip to content

Commit

Permalink
Valq7711 update binaries (#214)
Browse files Browse the repository at this point in the history
fixed some bugs and import improvements
  • Loading branch information
valq7711 authored Dec 26, 2019
1 parent d874a51 commit a0340b3
Show file tree
Hide file tree
Showing 6 changed files with 786 additions and 442 deletions.
14 changes: 10 additions & 4 deletions lib/baselib.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ function ՐՏ_merge(target, source, overwrite) {
for (ՐՏidx10 = 0; ՐՏidx10 < ՐՏitr10.length; ՐՏidx10++) {
prop = ՐՏitr10[ՐՏidx10];
if (overwrite || typeof target.prototype[prop] === "undefined") {
target.prototype[prop] = source.prototype[prop];
Object.defineProperty(target.prototype, prop, Object.getOwnPropertyDescriptor(source.prototype, prop));
}
}
}
Expand All @@ -181,7 +181,7 @@ function ՐՏ_mixin() {
for (ՐՏidx12 = 0; ՐՏidx12 < ՐՏitr12.length; ՐՏidx12++) {
key = ՐՏitr12[ՐՏidx12];
if (!(ՐՏ_in(key, baseClass.prototype))) {
baseClass.prototype[key] = cls.prototype[key];
Object.defineProperty(baseClass.prototype, key, Object.getOwnPropertyDescriptor(cls.prototype, key));
}
}
}
Expand Down Expand Up @@ -257,6 +257,9 @@ function ՐՏ_eq(a, b) {
if (a === b) {
return true;
}
if (a === void 0 || b === void 0 || a === null || b === null) {
return false;
}
if (a.constructor !== b.constructor) {
return false;
}
Expand Down Expand Up @@ -575,7 +578,7 @@ var ValueError = (ՐՏ_10 = function ValueError() {
for (ՐՏidx3 = 0; ՐՏidx3 < ՐՏitr3.length; ՐՏidx3++) {
prop = ՐՏitr3[ՐՏidx3];
if (overwrite || typeof target.prototype[prop] === "undefined") {
target.prototype[prop] = source.prototype[prop];
Object.defineProperty(target.prototype, prop, Object.getOwnPropertyDescriptor(source.prototype, prop));
}
}
},
Expand All @@ -591,7 +594,7 @@ var ValueError = (ՐՏ_10 = function ValueError() {
for (ՐՏidx5 = 0; ՐՏidx5 < ՐՏitr5.length; ՐՏidx5++) {
key = ՐՏitr5[ՐՏidx5];
if (!(ՐՏ_in(key, baseClass.prototype))) {
baseClass.prototype[key] = cls.prototype[key];
Object.defineProperty(baseClass.prototype, key, Object.getOwnPropertyDescriptor(cls.prototype, key));
}
}
}
Expand Down Expand Up @@ -667,6 +670,9 @@ var ValueError = (ՐՏ_10 = function ValueError() {
if (a === b) {
return true;
}
if (a === void 0 || b === void 0 || a === null || b === null) {
return false;
}
if (a.constructor !== b.constructor) {
return false;
}
Expand Down
7 changes: 5 additions & 2 deletions lib/compile.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ function ՐՏ_merge(target, source, overwrite) {
for (ՐՏidx3 = 0; ՐՏidx3 < ՐՏitr3.length; ՐՏidx3++) {
prop = ՐՏitr3[ՐՏidx3];
if (overwrite || typeof target.prototype[prop] === "undefined") {
target.prototype[prop] = source.prototype[prop];
Object.defineProperty(target.prototype, prop, Object.getOwnPropertyDescriptor(source.prototype, prop));
}
}
}
Expand All @@ -181,7 +181,7 @@ function ՐՏ_mixin() {
for (ՐՏidx5 = 0; ՐՏidx5 < ՐՏitr5.length; ՐՏidx5++) {
key = ՐՏitr5[ՐՏidx5];
if (!(ՐՏ_in(key, baseClass.prototype))) {
baseClass.prototype[key] = cls.prototype[key];
Object.defineProperty(baseClass.prototype, key, Object.getOwnPropertyDescriptor(cls.prototype, key));
}
}
}
Expand Down Expand Up @@ -257,6 +257,9 @@ function ՐՏ_eq(a, b) {
if (a === b) {
return true;
}
if (a === void 0 || b === void 0 || a === null || b === null) {
return false;
}
if (a.constructor !== b.constructor) {
return false;
}
Expand Down
Loading

0 comments on commit a0340b3

Please sign in to comment.