domtools / Star System

ashes to ashes

Diarissues Gitmarks Snippetrosh

        How it works

        Scripts

        Code

        function scan (owner, repo) {
        	var fullname = [owner, repo].join('/');
        	fetch('https://api.github.com/repos/' + fullname + '/issues', options).then(function (r) {
        		return r.json();
        	}).then(function (arr) {
        		var a = arr.map(stampa).join('');
        		document.getElementById(repo).innerHTML = a;
        	});
        }