Skip to content

Commit

Permalink
exclude class from defaults test
Browse files Browse the repository at this point in the history
  • Loading branch information
tylerturdenpants committed Dec 3, 2020
1 parent 0c3243f commit 7bf8e3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addon/components/attach-popover.js
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ export default class AttachPopover extends Component {
for (const key in userDefaults) {
stripInProduction(() => {
// eslint-disable-next-line no-prototype-builtins
if (!DEFAULTS.hasOwnProperty(key)) {
if (key !== 'class' && !DEFAULTS.hasOwnProperty(key)) {
warn(`Unknown property given as an ember-attacher default: ${key}`, { id: 700152 });
}
});
Expand Down

0 comments on commit 7bf8e3b

Please sign in to comment.