From c984f7f650525615eeba31cd3006c5036d62387e Mon Sep 17 00:00:00 2001 From: Steve Orvell Date: Fri, 13 Sep 2013 09:40:06 -0700 Subject: [PATCH] avoid using native implementation by default when document.webkitRegister is available. This is an outdated native implementation that is no longer spec compliant. --- src/CustomElements.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/CustomElements.js b/src/CustomElements.js index a45ee7d..f75c581 100644 --- a/src/CustomElements.js +++ b/src/CustomElements.js @@ -25,14 +25,11 @@ var flags = scope.flags; // native document.register? -var hasNative = Boolean(document.webkitRegister || document.register); +var hasNative = Boolean(document.register); var useNative = !flags.register && hasNative; if (useNative) { - // normalize - document.register = document.register || document.webkitRegister; - // stub var nop = function() {};