Skip to content

Commit

Permalink
Show examples in spans.
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Seibel committed Jul 24, 2012
1 parent b5b905b commit ce28595
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions gog.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ body {
font-family: "Gill Sans";
margin: .25in .5in;
}

h1 {
font-weight: 300;
}

.graphic { margin: 3px; }
2 changes: 1 addition & 1 deletion gog.js
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@
var n = 0;
function ex () {
var id = 'example' + n++;
d3.select('body').append('div').attr('id', id);
d3.select('body').append('span').attr('class', 'graphic').attr('id', id);
return '#' + id;
}

Expand Down

0 comments on commit ce28595

Please sign in to comment.