mirror of
https://github.com/ivabus/www
synced 2024-11-13 04:45:15 +03:00
Stargazers fade in
This commit is contained in:
parent
adc31edd18
commit
a2e9065c71
|
@ -964,7 +964,6 @@
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
|
|
@ -177,15 +177,15 @@ integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
var repository = "teaxyz/cli";
|
var repository = "teaxyz/cli";
|
||||||
var url = "https://api.github.com/repos/" + repository;
|
var url = "https://api.github.com/repos/" + repository;
|
||||||
|
|
||||||
$.get(url, function(data) {
|
$.get(url, function(data) {
|
||||||
var stargazers = numeral(data.stargazers_count).format("0.0a");
|
var stargazers = numeral(data.stargazers_count).format("0.0a");
|
||||||
$(".stargazers").html(stargazers);
|
$(".stargazers").html(stargazers).hide().fadeIn(400);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|
Loading…
Reference in a new issue