Fix bugs in attribute inheritance

This commit is contained in:
nathangray
2020-02-07 09:25:53 -07:00
parent 5e80a05cd1
commit d8345d2178
4 changed files with 4 additions and 4 deletions

View File

@ -126,7 +126,7 @@ var ClassWithAttributes = /** @class */ (function () {
class_prototype = Object.getPrototypeOf(class_prototype);
} while (class_prototype !== ClassWithAttributes && n < 50);
for (var i = class_tree.length - 1; i >= 0; i--) {
attributes = ClassWithAttributes.extendAttributes(attributes, class_tree[i]._attributes);
attributes = ClassWithAttributes.extendAttributes(class_tree[i]._attributes, attributes);
}
return attributes;
};