($ => {
  "use strict";
  const siteUrl = "http://fa7ad.github.io/imgcdn/";
  let list = "";

  $.get("https://api.github.com/repos/fa7ad/imgcdn/contents").done(files => {
    files.forEach(file => {
      if (/(jpeg|jpg|gif|bmp|ico|png|svg)$/.test(file.path))
        list += `<li><a href="${siteUrl + file.path}">${file.name}</a></li>`;
    });
    $("#list").html(list);
  });

})(jQuery);

@@ -94,16 +94,20 @@
 %0A  $.get
+JSON
 (%22https:
@@ -158,21 +158,20 @@
 %22).done(
-files
+json
  =%3E %7B%0A  
@@ -176,13 +176,12 @@
     
-files
+json
 .for
@@ -361,12 +361,14 @@
 t%22).
-html
+append
 (lis

append rather than replace