Open TheWebTech opened 4 years ago
$.getJSON("https://api.github.com/repos/williamspiro/HubSpot-Developer-Extension/releases", function(data) { var items = []; $.each(data, function(key, val) { var placement = data.index; items.push("<li id='" + key + "'><a href='" + val.html_url + "'>" + val.name + val.tag_name + val.body + key + "</a></li>"); }); </li> $("<ul/>", { </ul> "class": "my-new-list", html: items.join("") }).appendTo(".testing"); }); </script>
This is a script that was created for grabbing the releases. need to eventually get it going inside of the options screen.
This is a script that was created for grabbing the releases. need to eventually get it going inside of the options screen.