Created
April 12, 2019 19:21
-
-
Save VickiLanger/c81ef85e293c4cbeb35fa29ca6871667 to your computer and use it in GitHub Desktop.
Revisions
-
VickiLanger created this gist
Apr 12, 2019 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,13 @@ var urlToGetAllOpenBugs = "https://api.github.com/repos/jquery/jquery/issues?state=open&labels=bug"; $(document).ready(function () { $.getJSON(urlToGetAllOpenBugs, function (allIssues) { $("div").append("found " + allIssues.length + " issues</br>"); $.each(allIssues, function (i, issue) { $("div") .append("<b>" + issue.number + " - " + issue.title + "</b></br>") .append("created at: " + issue.created_at + "</br>") .append(issue.body + "</br></br></br>"); }); }); });