Skip to content

Commit 17515da

Browse files
committed
Remove deprecated Polymer.register
1 parent 4dc481c commit 17515da

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/deprecated.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,3 @@
55
*/
66

77
// NOTE: put deprecated methods here that throw a useful error
8-
Polymer.register = function(context) {
9-
if (context != window) {
10-
// context is the <element> here, with a name attribute
11-
var name = context.getAttribute('name');
12-
throw new Error('Polymer.register is deprecated in declaration of ' + name + '. Please see http://www.polymer-project.org/getting-started.html');
13-
}
14-
};

0 commit comments

Comments
 (0)