Permalink
Browse files

put a reference to <element> on prototype

  • Loading branch information...
sjmiles committed Apr 18, 2013
1 parent 986a171 commit 64f7e64e4356e13fee19b89cef0bda185ebbe920
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/register.js
View
@@ -28,6 +28,8 @@
// also, we don't yet support intermediate prototypes in calls to
// HTMLElementElement.prototype.register, so we have to use mixin
var prototype = mixin({}, base, inPrototype);
+ //
+ prototype.elementElement = inElement;
// TODO(sorvell): install a helper method this.resolvePath to aid in
// setting resource paths. e.g.
// this.$.image.src = this.resolvePath('images/foo.png')

0 comments on commit 64f7e64

Please sign in to comment.