Skip to content

Commit

Permalink
Remove deprecated Polymer.register
Browse files Browse the repository at this point in the history
  • Loading branch information
dfreedm committed Sep 20, 2013
1 parent 4dc481c commit 17515da
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/deprecated.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,3 @@
*/

// NOTE: put deprecated methods here that throw a useful error
Polymer.register = function(context) {
if (context != window) {
// context is the <element> 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');
}
};

0 comments on commit 17515da

Please sign in to comment.