Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
Remove this check, it's done in register @ https://github.com/Polymer…
Browse files Browse the repository at this point in the history
  • Loading branch information
sorvell committed Feb 7, 2014
1 parent bfd459b commit be42be8
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/CustomElements.js
Original file line number Diff line number Diff line change
Expand Up @@ -320,9 +320,6 @@ if (useNative) {
}

function registerDefinition(name, definition) {
if (registry[name]) {
throw new Error('a type with that name is already registered.');
}
registry[name] = definition;
}

Expand Down

1 comment on commit be42be8

@jmesserly
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lovely, thank you!

Please sign in to comment.