mercurial/templates/static/mercurial.js
changeset 35605 45a816361926
parent 35566 baca93a47992
child 35654 59c842a3d1e1
equal deleted inserted replaced
35604:74bec9e74831 35605:45a816361926
    23 ];
    23 ];
    24 
    24 
    25 function Graph() {
    25 function Graph() {
    26 
    26 
    27 	this.canvas = document.getElementById('graph');
    27 	this.canvas = document.getElementById('graph');
    28 	if (window.G_vmlCanvasManager) this.canvas = window.G_vmlCanvasManager.initElement(this.canvas);
       
    29 	this.ctx = this.canvas.getContext('2d');
    28 	this.ctx = this.canvas.getContext('2d');
    30 	this.ctx.strokeStyle = 'rgb(0, 0, 0)';
    29 	this.ctx.strokeStyle = 'rgb(0, 0, 0)';
    31 	this.ctx.fillStyle = 'rgb(0, 0, 0)';
    30 	this.ctx.fillStyle = 'rgb(0, 0, 0)';
    32 	this.bg = [0, 4];
    31 	this.bg = [0, 4];
    33 	this.cell = [2, 0];
    32 	this.cell = [2, 0];