Make eslint happy.
This commit is contained in:
parent
f32d8e2882
commit
e9927ce5b1
|
@ -536,7 +536,7 @@ export default Ember.Component.extend({
|
||||||
|
|
||||||
formatCode() {
|
formatCode() {
|
||||||
const sel = this._getSelected();
|
const sel = this._getSelected();
|
||||||
const hasNewLine = sel.value.indexOf("\n") !== -1
|
const hasNewLine = sel.value.indexOf("\n") !== -1;
|
||||||
|
|
||||||
if (this.siteSettings.code_formatting_style === FOUR_SPACES_INDENT) {
|
if (this.siteSettings.code_formatting_style === FOUR_SPACES_INDENT) {
|
||||||
return (hasNewLine ?
|
return (hasNewLine ?
|
||||||
|
|
Loading…
Reference in New Issue