Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
remove unnecessary constructor setting. This is handled by CustomElem…
Browse files Browse the repository at this point in the history
…ents.
  • Loading branch information
sorvell committed Feb 19, 2014
1 parent 33977dc commit 19f854e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/declaration/prototype.js
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,6 @@
HTMLElement.register(name, this.prototype);
// register the custom type
this.ctor = document.registerElement(name, info);
// constructor shenanigans
this.prototype.constructor = this.ctor;
},

findTypeExtension: function(name) {
Expand Down

0 comments on commit 19f854e

Please sign in to comment.