Skip to content

Commit

Permalink
Fixes #2403
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven Orvell committed Sep 3, 2015
1 parent 8886e8c commit a6694b7
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/lib/polymer-bootstrap.html
Expand Up @@ -35,9 +35,13 @@
// this may have resulted in a new prototype being created
prototype = factory.prototype;
var options = {
prototype: prototype,
extends: prototype.extends
prototype: prototype
};
// NOTE: we're specifically supporting older Chrome versions here
// (specifically Chrome 39) that throw when options.extends is undefined.
if (prototype.extends) {
options.extends = prototype.extends;
}
Polymer.telemetry._registrate(prototype);
document.registerElement(prototype.is, options);
return factory;
Expand Down

0 comments on commit a6694b7

Please sign in to comment.