- Add a debug mode to the casper script

- Have the casper script generate screenshots for the repo view and repo admin
This commit is contained in:
Joseph Schorr 2013-10-11 15:02:08 -04:00
parent 9bb6cb2c7d
commit 04b8a009da
3 changed files with 35 additions and 4 deletions

View file

@ -86,8 +86,9 @@ ImageHistoryTree.prototype.draw = function(container) {
var vis = d3.select("#" + container).append("svg:svg")
.attr("width", w + m[1] + m[3])
.attr("height", h + m[0] + m[2])
.attr("class", "image-tree")
.append("svg:g")
.attr("transform", "translate(" + m[3] + "," + m[0] + ")");
.attr("transform", "translate(" + m[3] + "," + m[0] + ")");
var formatComment = this.formatComment_;
var formatTime = this.formatTime_;