From c6092e7ec358940ca411941fb46fbb5ae0f48449 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Mon, 18 Feb 2019 17:34:01 +0000 Subject: Added a few articles to test --- Website/scripts/main.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Website/scripts/main.ts') diff --git a/Website/scripts/main.ts b/Website/scripts/main.ts index f34e2ef..62a25f9 100644 --- a/Website/scripts/main.ts +++ b/Website/scripts/main.ts @@ -33,7 +33,11 @@ let root = document.getElementById('root'); let articles: Array
= [ new Article('title1', 'description1', 'article1', 'image1'), new Article('title2', 'description2', 'article2', 'image2'), - new Article('title3', 'description3', 'article3', 'image3') + new Article('title3', 'description3', 'article3', 'image3'), + new Article('title1', 'description1', 'article1', 'image1'), + new Article('title2', 'description2', 'article2', 'image2'), + new Article('title1', 'description1', 'article1', 'image1'), + new Article('title2', 'description2', 'article2', 'image2') ]; articles.forEach(article => article.visualise(root)); -- cgit v1.2.3-13-gbd6f