From 17515da35c033702038b7cdc0b0f09b188004814 Mon Sep 17 00:00:00 2001 From: Daniel Freedman Date: Fri, 20 Sep 2013 16:16:30 -0700 Subject: [PATCH] Remove deprecated Polymer.register --- src/deprecated.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/deprecated.js b/src/deprecated.js index e543b2b475..29000a946b 100644 --- a/src/deprecated.js +++ b/src/deprecated.js @@ -5,10 +5,3 @@ */ // NOTE: put deprecated methods here that throw a useful error -Polymer.register = function(context) { - if (context != window) { - // context is the here, with a name attribute - var name = context.getAttribute('name'); - throw new Error('Polymer.register is deprecated in declaration of ' + name + '. Please see http://www.polymer-project.org/getting-started.html'); - } -};