From f485280326e41356f976ca048498b47acbd15070 Mon Sep 17 00:00:00 2001 From: Steve Orvell Date: Fri, 16 Aug 2013 13:39:05 -0700 Subject: [PATCH] Don't pass typeExtension argument to native createElement. It's unneeded and causes a problem in Chrome 28 where document.createElement('nav', undefined) results in undefined. Helps address (https://github.com/Polymer/polymer/issues/243) --- src/CustomElements.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CustomElements.js b/src/CustomElements.js index 2d79026..dbe4acc 100644 --- a/src/CustomElements.js +++ b/src/CustomElements.js @@ -310,7 +310,7 @@ if (useNative) { if (definition) { return new definition.ctor(); } - return domCreateElement(tag, typeExtension); + return domCreateElement(tag); } function upgradeElement(inElement) {