fixed regression bug with createImageHitRegion. setup node server. Upated README with new test instructions

This commit is contained in:
Eric Rowell
2013-09-16 10:12:50 -07:00
parent ede6fb2e17
commit 5c328b838f
7 changed files with 28 additions and 15 deletions

View File

@@ -356,7 +356,7 @@ suite('Shape-test', function() {
layer.draw();
var trace = layer.getContext().getTrace();
console.log(trace);
//console.log(trace);
assert.equal(trace, 'clearRect(0,0,578,200);save();transform(3,0,0,1,289,100);beginPath();arc(0,0,70,0,6.283,false);closePath();save();shadowColor=black;shadowBlur=10;shadowOffsetX=10;shadowOffsetY=10;fillStyle=green;fill();restore();fillStyle=green;fill();setLineDash([10,10]);lineWidth=4;strokeStyle=black;stroke();restore();clearRect(0,0,578,200);save();transform(3,0,0,1,289,100);beginPath();arc(0,0,70,0,6.283,false);closePath();save();shadowColor=black;shadowBlur=10;shadowOffsetX=10;shadowOffsetY=10;fillStyle=green;fill();restore();fillStyle=green;fill();save();setTransform(1,0,0,1,0,0);setLineDash([10,10]);lineWidth=4;strokeStyle=black;stroke();restore();restore();');
circle.disableFill();