Skip to content

Commit

Permalink
Merge pull request #5656 from Polymer/setAttribute-TrustedURL
Browse files Browse the repository at this point in the history
Remove types from LegacyElementMixin's overridden setAttribute and removeAttribute.
  • Loading branch information
bicknellr authored May 13, 2020
2 parents ac71e72 + 1e29695 commit 4d057ed
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/legacy/legacy-element-mixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,6 @@ export const LegacyElementMixin = dedupingMixin((base) => {
/**
* Sets the value of an attribute.
* @override
* @param {string} name The name of the attribute to change.
* @param {string|number|boolean|!TrustedHTML|!TrustedScriptURL|!TrustedURL} value The new attribute value.
*/
setAttribute(name, value) {
if (legacyNoObservedAttributes && !this._legacyForceObservedAttributes) {
Expand All @@ -163,7 +161,6 @@ export const LegacyElementMixin = dedupingMixin((base) => {
/**
* Removes an attribute.
* @override
* @param {string} name The name of the attribute to remove.
*/
removeAttribute(name) {
if (legacyNoObservedAttributes && !this._legacyForceObservedAttributes) {
Expand Down

0 comments on commit 4d057ed

Please sign in to comment.