Skip to content
This repository has been archived by the owner on Nov 26, 2018. It is now read-only.

Commit

Permalink
prettier circles
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolaslara committed Jan 22, 2015
1 parent 1b5955c commit 21ca1b1
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions botbot/static/js/app/glob/default.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,16 @@ $$.Views.Glob = Backbone.View.extend({
.attr("cy", function(d) {
return projection([d[1], d[0]])[1];
})
.attr("r", 5)
.style("fill", "lime")
.style("opacity", 0)
.attr("r", 0)
.transition()
.style("opacity", 1)
.duration(100)
.attr("r", 4)
.transition()
.delay(100)
.attr("r", 12)
.style("opacity", 0)
.duration(500)
.remove();

}, false);
Expand Down

0 comments on commit 21ca1b1

Please sign in to comment.