docs: simpler star counter, more nice buttons

This commit is contained in:
jean-emmanuel 2016-11-03 11:51:52 +01:00
parent 4ce7be809d
commit 324a9fae95
3 changed files with 18 additions and 2 deletions

View file

@ -0,0 +1,8 @@
$(document).ready(function(){
$.getJSON('https://api.github.com/repos/jean-emmanuel/open-stage-control',function(data){
$('#github-stars').text(data.stargazers_count)
})
$.getJSON('https://raw.githubusercontent.com/jean-emmanuel/open-stage-control/master/app/package.json',function(data){
$('#github-version').text('v'+data.version)
})
})