mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Fix lint error
This commit is contained in:
committed by
Antonio Scandurra
parent
348d085880
commit
dfe647d914
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user