Formatting: Tabs to spaces

This commit is contained in:
Jason Follas
2013-08-26 08:10:32 -04:00
parent c93f4348b0
commit d8daefbf85
2 changed files with 17 additions and 17 deletions

View File

@@ -77,9 +77,9 @@
break; break;
} }
} }
if (this.getFill() !== undefined) if (this.getFill() !== undefined)
canvas.fill(this); canvas.fill(this);
canvas.stroke(this); canvas.stroke(this);
} }
}; };

View File

@@ -390,7 +390,7 @@ Test.Modules.PATH = {
layer.add(group); layer.add(group);
stage.add(layer); stage.add(layer);
showHit(layer); showHit(layer);
}, },
'Able to determine point on line some distance from another point on line': function(containerId) { 'Able to determine point on line some distance from another point on line': function(containerId) {
@@ -806,8 +806,8 @@ Test.Modules.PATH = {
}, },
'*Stroke only when no fill': function(containerId) { '*Stroke only when no fill': function(containerId) {
// https://github.com/ericdrowell/KineticJS/issues/567 // https://github.com/ericdrowell/KineticJS/issues/567
var stage = new Kinetic.Stage({ var stage = new Kinetic.Stage({
container: containerId, container: containerId,
width: 1024, width: 1024,
@@ -821,20 +821,20 @@ Test.Modules.PATH = {
var path = new Kinetic.Path({ var path = new Kinetic.Path({
data: "M 50 0 C 50 150 170 170 200 170", data: "M 50 0 C 50 150 170 170 200 170",
stroke: 'black' stroke: 'black'
});
path.on('mouseover', function () {
this.setStroke("#f00");
layer.draw();
}); });
path.on('mouseover', function () {
this.setStroke("#f00");
layer.draw();
});
path.on('mouseout', function(){ path.on('mouseout', function(){
this.setStroke("#000"); this.setStroke("#000");
layer.draw(); layer.draw();
}); });
layer.add(path); layer.add(path);
stage.add(layer); stage.add(layer);
} }
}; };