Skip to content

Commit 93ccdfb

Browse files
remove warning for popover/tooltip in config
1 parent af9bf6a commit 93ccdfb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

addon/components/attach-popover.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ export default class AttachPopover extends Component {
321321
for (const key in userDefaults) {
322322
stripInProduction(() => {
323323
// eslint-disable-next-line no-prototype-builtins
324-
if (key !== 'class' && !DEFAULTS.hasOwnProperty(key)) {
324+
if (!['popover','tooltip', 'class'].includes(key) && !DEFAULTS.hasOwnProperty(key)) {
325325
warn(`Unknown property given as an ember-attacher default: ${key}`, { id: 700152 });
326326
}
327327
});

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ember-attacher",
3-
"version": "1.2.3",
3+
"version": "1.3.0-beta.2",
44
"description": "Tooltips and popovers for Ember.js apps",
55
"keywords": [
66
"ember-addon",

0 commit comments

Comments
 (0)