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());
});
},
});