docs: simpler star counter, more nice buttons
This commit is contained in:
parent
4ce7be809d
commit
324a9fae95
3 changed files with 18 additions and 2 deletions
8
resources/docs/js/extra.js
Normal file
8
resources/docs/js/extra.js
Normal 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)
|
||||
})
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue