From e0bdf1d9ed0f18db35358a1c33e519c32056d8f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C3=A1lint=20Bokros?= Date: Thu, 1 Feb 2018 16:03:41 +0100 Subject: [PATCH] Remove test code --- src/app/logs/logs.component.html | 1 - src/app/logs/logs.component.ts | 11 ----------- 2 files changed, 12 deletions(-) diff --git a/src/app/logs/logs.component.html b/src/app/logs/logs.component.html index 5a43abb..04f5b84 100644 --- a/src/app/logs/logs.component.html +++ b/src/app/logs/logs.component.html @@ -1,2 +1 @@ -
diff --git a/src/app/logs/logs.component.ts b/src/app/logs/logs.component.ts index 70ad32c..76574ed 100644 --- a/src/app/logs/logs.component.ts +++ b/src/app/logs/logs.component.ts @@ -1,15 +1,6 @@ import { Component, OnInit } from '@angular/core'; import { MarkdownService } from '../markdown.service'; -const mdText = -`# Showdown test - -**bold** - -_italic_ - -[link](https://avatao.com) -`; @Component({ selector: 'app-logs', @@ -17,9 +8,7 @@ _italic_ styleUrls: ['./logs.component.scss'] }) export class LogsComponent implements OnInit { - markdown: string; constructor(private markdownService: MarkdownService) { - this.markdown = markdownService.convertToHtml(mdText); } ngOnInit() {