Fix lint error

This commit is contained in:
Nathan Sobo
2017-04-19 16:38:52 -06:00
committed by Antonio Scandurra
parent 348d085880
commit dfe647d914

View File

@@ -85,9 +85,7 @@ class TextEditorElement extends HTMLElement {
}
updateModelFromAttributes () {
const props = {
mini: this.hasAttribute('mini'),
}
const props = {mini: this.hasAttribute('mini')}
if (this.hasAttribute('placeholder-text')) props.placeholderText = this.getAttribute('placeholder-text')
if (this.hasAttribute('gutter-hidden')) props.lineNumberGutterVisible = false