Skip to content

Commit 09cf679

Browse files
authored
Merge pull request #73 from robinnorth/master
Fix incorrect check for non-entity prop names
2 parents e804f09 + 23afb5a commit 09cf679

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ function doSetAttributes (el, props) {
2121
// Set attributes.
2222
const nonEntityPropNames = ['children', 'events', 'primitive'];
2323
Object.keys(props).filter(
24-
propName => propName.indexOf(nonEntityPropNames) === -1
24+
propName => nonEntityPropNames.indexOf(propName) === -1
2525
).forEach(propName => { doSetAttribute(el, props, propName); });
2626
}
2727

0 commit comments

Comments
 (0)