aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAryadev Chavali <aryadevchavali1@gmail.com>2019-02-18 17:34:01 +0000
committerAryadev Chavali <aryadevchavali1@gmail.com>2019-02-18 17:34:01 +0000
commitc6092e7ec358940ca411941fb46fbb5ae0f48449 (patch)
treedd76f22a473bc6052254c2d77fa38117efc1b00a
parent334a8367c3c5cf1f18ca82178c13959dd75dea4e (diff)
downloadnewsaggregator-c6092e7ec358940ca411941fb46fbb5ae0f48449.tar.gz
newsaggregator-c6092e7ec358940ca411941fb46fbb5ae0f48449.tar.bz2
newsaggregator-c6092e7ec358940ca411941fb46fbb5ae0f48449.zip
Added a few articles to test
-rw-r--r--Website/scripts/main.ts6
1 files changed, 5 insertions, 1 deletions
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<Article> = [
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));