From fba6f068e3f85010f351226be1ff8bedeadbf3c0 Mon Sep 17 00:00:00 2001 From: k4m4 Date: Sat, 12 Jan 2019 16:00:07 +0200 Subject: [PATCH] Change README file name to lowercase Change README file name to lowercase Change README file name to lowercase --- dist/js/app.js | 2 +- README.md => readme.md | 2 +- src/js/app.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename README.md => readme.md (99%) diff --git a/dist/js/app.js b/dist/js/app.js index 08c1fdb..a1772b0 100644 --- a/dist/js/app.js +++ b/dist/js/app.js @@ -79,7 +79,7 @@ objectifyMarkdownNotWomen.heading = function(e, t) { heading: lastHeading, movies: movies }), movies = [{}] -}, client.open("GET", window.location.href + "README.md"), client.onreadystatechange = function(e) { +}, client.open("GET", window.location.href + "readme.md"), client.onreadystatechange = function(e) { document.getElementById("root").innerHTML = "", moviesCollection = [], movies = [{}], marked(client.responseText, { renderer: objectifyMarkdownNotWomen }, function() { diff --git a/README.md b/readme.md similarity index 99% rename from README.md rename to readme.md index e4c16e7..4ceec31 100644 --- a/README.md +++ b/readme.md @@ -179,4 +179,4 @@ Check out my [blog](https://nikolaskama.me/) and follow me on [Twitter](https:// # Contributing -Your contributions are always welcome! Please take a look at our [contribution guidelines](https://github.com/k4m4/movies-for-hackers/blob/master/contributing.md) and [code of conduct](https://github.com/k4m4/movies-for-hackers/blob/master/code-of-conduct.md) first. \ No newline at end of file +Your contributions are always welcome! Please take a look at our [contribution guidelines](https://github.com/k4m4/movies-for-hackers/blob/master/contributing.md) and [code of conduct](https://github.com/k4m4/movies-for-hackers/blob/master/code-of-conduct.md) first. diff --git a/src/js/app.js b/src/js/app.js index c693882..34ea7d0 100644 --- a/src/js/app.js +++ b/src/js/app.js @@ -97,7 +97,7 @@ objectifyMarkdownNotWomen.table = function(header, body) { }; // Ajax the markdown file with all movie data -client.open('GET', window.location.href + 'README.md'); +client.open('GET', window.location.href + 'readme.md'); client.onreadystatechange = function(e) { // Wipe movies, collections and content as this'll run a bunch of times document.getElementById('root').innerHTML = '';