Skip to content

Commit a6694b7

Browse files
author
Steven Orvell
committed
Fixes #2403
1 parent 8886e8c commit a6694b7

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

‎src/lib/polymer-bootstrap.html‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,13 @@
3535
// this may have resulted in a new prototype being created
3636
prototype = factory.prototype;
3737
var options = {
38-
prototype: prototype,
39-
extends: prototype.extends
38+
prototype: prototype
4039
};
40+
// NOTE: we're specifically supporting older Chrome versions here
41+
// (specifically Chrome 39) that throw when options.extends is undefined.
42+
if (prototype.extends) {
43+
options.extends = prototype.extends;
44+
}
4145
Polymer.telemetry._registrate(prototype);
4246
document.registerElement(prototype.is, options);
4347
return factory;

0 commit comments

Comments
 (0)