Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

14 lines (12 sloc) 0.475 kB
badgeMaker =
getTemplate : (badge) ->
alt= badge.name + " : "+ badge.description
img = "<img src='"+badge.badge+"' class='badge' title='"+ alt+"'/>"
"<li><a href='http://coderwall.com/avnerner' target='_blank'>" + img + "</a></li>"
generateBadges : (data) ->
innerHTML = ""
badges = data.data.badges
for i in badges
innerHTML += badgeMaker.getTemplate(i)
document.getElementById("coderwall").innerHTML = innerHTML
badgeMaker.generateBadges badgeContent
Jump to Line
Something went wrong with that request. Please try again.