diff options
Diffstat (limited to 'src/js')
-rw-r--r-- | src/js/feed.js | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/js/feed.js b/src/js/feed.js deleted file mode 100644 index 87302f3..0000000 --- a/src/js/feed.js +++ /dev/null @@ -1,9 +0,0 @@ -function loadFeed(callback){ - var myRequest = new Request('/feed'); - fetch(myRequest).then(function(response) { - return response.text(); - }).then(function(response) { - document.getElementById("feed").innerHTML = response; - callback() - }); -} |