You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
arnaucode c2aaae3b08 working 6 years ago
img working 6 years ago
LICENSE Initial commit 6 years ago working 6 years ago
bower.json working 6 years ago
index.html working 6 years ago
socialCountBadge.css working 6 years ago
socialCountBadge.js working 6 years ago



bower install --save socialCountBadge

Add to the index.html:

<link href="bower_components/socialCountBadge/socialCountBadge.css" rel="stylesheet">

<script src=""></script>
<script src="bower_components/socialCountBadge/socialCountBadge.js"></script>

Declare the badges variable:

var badges = {
    hn: {
        link: "",
        callback: parseHN,
        img: "img/hackernews.png",
        count: null
    reddit: {
        link: "",
        callback: parseReddit,
        img: "img/reddit.png",
        count: null