Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: JimmyDaddy <heyjimmygo@gmail.com>
  • Loading branch information
cyjake and JimmyDaddy committed Jul 8, 2021
1 parent 586a603 commit e161ec3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/bone.js
Original file line number Diff line number Diff line change
Expand Up @@ -935,9 +935,7 @@ class Bone {
}
}

const descriptors = {};
for (const name in attributes) this.loadAttribute(name);
Object.defineProperties(this.prototype, descriptors);

Object.defineProperties(this, looseReadonly({
timestamps,
Expand Down

0 comments on commit e161ec3

Please sign in to comment.