Replace tabs with 4 white-spaces.

This commit is contained in:
Jürg Lehni 2014-08-16 19:24:54 +02:00
parent 687199e95d
commit 48cb05a181
230 changed files with 35818 additions and 35816 deletions

View file

@ -13,16 +13,16 @@
module('TextItem');
test('PointText', function() {
var text = new PointText({
fontFamily: 'Arial',
fontSize: 14,
point: [100, 100],
content: 'Hello World!'
});
compareColors(text.fillColor, new Color(0, 0, 0), 'text.fillColor should be black by default');
comparePoints(text.point, { x: 100, y: 100 });
compareRectangles(text.bounds, { x: 100, y: 87.4, width: 77, height: 16.8 });
equals(function() {
return text.hitTest(text.bounds.center) != null;
}, true);
var text = new PointText({
fontFamily: 'Arial',
fontSize: 14,
point: [100, 100],
content: 'Hello World!'
});
compareColors(text.fillColor, new Color(0, 0, 0), 'text.fillColor should be black by default');
comparePoints(text.point, { x: 100, y: 100 });
compareRectangles(text.bounds, { x: 100, y: 87.4, width: 77, height: 16.8 });
equals(function() {
return text.hitTest(text.bounds.center) != null;
}, true);
});