GonzaloTorreras / HubSpot-Developer-Extension

A Chrome Extension for HubSpot Developers
https://chrome.google.com/webstore/detail/hubspot-developer-extensi/gebemkdecnlgbcanplbgdpcffpdnfdfo
33 stars 26 forks source link

options screen release notices #232

Open TheWebTech opened 4 years ago

TheWebTech commented 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.