Skip to content

Commit

Permalink
refactor: remove error and add reflective to global style attr
Browse files Browse the repository at this point in the history
  • Loading branch information
ekashida committed Apr 27, 2019
1 parent 64043a9 commit 43df9c9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/@lwc/engine/src/framework/attributes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,7 @@ export function getGlobalHTMLPropertiesInfo() {
},
style: {
attribute: 'style',
error:
'Using the `style` attribute is an anti-pattern. Use the `classList` API and define classes in a CSS file instead.',
reflective: true,
},
tabIndex: {
attribute: 'tabindex',
Expand Down

0 comments on commit 43df9c9

Please sign in to comment.