Skip to content

Commit

Permalink
Merge pull request #18 from Download/remove-deprecated-stuff
Browse files Browse the repository at this point in the history
Remove deprecated stuff
  • Loading branch information
Download committed Jul 3, 2017
2 parents a818c4b + b96d75d commit bbb5564
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ function is(x, type) {
while (c !== Object) {
if (c === type || c === type.class) return true
if (type.mixin && type.mixin.classes && type.mixin.classes.indexOf(c) !== -1) return true
c = c.prototype.__proto__.constructor
c = Object.getPrototypeOf(c.prototype).constructor
}
}
return false
Expand Down

0 comments on commit bbb5564

Please sign in to comment.