diff --git a/assets/file-to-upload.txt b/assets/file-to-upload.txt index e380975..10a4154 100644 --- a/assets/file-to-upload.txt +++ b/assets/file-to-upload.txt @@ -1,4 +1,4 @@ the quick brown fox jumps over the lazy dog -aerial reconaissance vehicle -zeta reticuli constellation -stellated tetrahedron \ No newline at end of file +Some text to be read by the console. +This is a test....test....test +Long weekend HURRAY!!! diff --git a/assets/js/read-files.js b/assets/js/read-files.js index 5ba0fe8..6ebed22 100644 --- a/assets/js/read-files.js +++ b/assets/js/read-files.js @@ -12,6 +12,7 @@ function getSingleFileAsText(evt) { fileReader.onload = function(event) { let contents = event.target.result; let words = getWords(contents); + console.log(contents); } return fileReader.readAsText(file) } diff --git a/index.html b/index.html index 285a1b8..d87330c 100644 --- a/index.html +++ b/index.html @@ -12,6 +12,7 @@ +