Skip to content

Commit

Permalink
Merge branch 'master' into remove-pr-template
Browse files Browse the repository at this point in the history
  • Loading branch information
lukesneeringer committed Jul 27, 2016
2 parents a5f44e1 + d19039a commit 70151ac
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/record.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@ class TypedRecord extends IterableKeyedBase {
[Typed.read](structure) {
const Type = this.constructor

if (structure instanceof Type &&
structure &&
structure.constructor === Type) {
if (structure && structure instanceof Type) {
return structure
}

Expand Down

0 comments on commit 70151ac

Please sign in to comment.