Updated the static index part

Should now properly update from the webber script
This commit is contained in:
Angelos Chalaris
2018-04-07 21:15:53 +03:00
parent f32f9eaa41
commit 4d550023f0
2 changed files with 20 additions and 19 deletions

File diff suppressed because one or more lines are too long

View File

@ -193,7 +193,7 @@
<script>
window.onload = function(){
let counters = ['#snippet-count', '#contrib-count', '#commit-count', '#star-count'];
let values = [295,113,3029,19462];
let values = [$snippet-count,$contrib-count,$commit-count,$star-count];
let steps = [1,1,8,42];
runCounter(counters[0],0,values[0],steps[0]);
runCounter(counters[1],0,values[1],steps[1]);