diff --git a/helperFns.html b/helperFns.html index 468f6b2..a5167e5 100644 --- a/helperFns.html +++ b/helperFns.html @@ -3,7 +3,7 @@ (async () => { let repourl = "https://api.github.com/repos/ranchimall/articles/contents"; let repocontent = null; - let articles = {} + let window.articles = {} repocontent = await (await fetch(repourl)).json(); for (var i = 0; i < repocontent.length; i++) { diff --git a/index.html b/index.html index d465634..d4a13ae 100644 --- a/index.html +++ b/index.html @@ -5,6 +5,10 @@