style(lint): improve lint issues

This commit is contained in:
KostyaDanovsky 2017-05-06 15:35:15 +03:00
parent 3ac268a096
commit f04763cecd
16 changed files with 19 additions and 78 deletions

View file

@ -1,4 +1,4 @@
import {Component, OnDestroy, AfterViewInit, Output, EventEmitter, ElementRef} from '@angular/core';
import { Component, OnDestroy, AfterViewInit, Output, EventEmitter, ElementRef } from '@angular/core';
@Component({
selector: 'ngx-tiny-mce',
@ -20,8 +20,7 @@ export class TinyMCEComponent implements OnDestroy, AfterViewInit {
setup: editor => {
this.editor = editor;
editor.on('keyup', () => {
let content = editor.getContent();
this.editorKeyup.emit(content);
this.editorKeyup.emit(editor.getContent());
});
},
});

View file

@ -1,7 +1,7 @@
import { Component } from '@angular/core';
@Component({
selector: 'one-column-layout',
selector: 'ngx-one-column-layout',
template: `
<nga-layout>
<nga-layout-header fixed>

View file

@ -17,7 +17,7 @@ import {
HeaderComponent,
FooterComponent,
SearchInputComponent,
TinyMCEComponent
TinyMCEComponent,
} from './components';
import { OneColumnLayoutComponent } from './layouts';