mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-01 02:38:43 -05:00
Fix Item#type tests, by adapting to new camel-cased version.
This commit is contained in:
parent
7eb9df61b3
commit
3856302282
1 changed files with 6 additions and 6 deletions
|
@ -536,14 +536,14 @@ test('Cloning a linked size', function() {
|
|||
});
|
||||
|
||||
test('Item#type', function() {
|
||||
equals(new Group().type, 'group');
|
||||
equals(new Path().type, 'path');
|
||||
equals(new CompoundPath().type, 'compoundpath');
|
||||
equals(new Group().type, 'Group');
|
||||
equals(new Path().type, 'Path');
|
||||
equals(new CompoundPath().type, 'CompoundPath');
|
||||
|
||||
var canvas = document.createElement('canvas');
|
||||
equals(new Raster(canvas).type, 'raster');
|
||||
equals(new PlacedSymbol().type, 'placedsymbol');
|
||||
equals(new PointText().type, 'pointtext');
|
||||
equals(new Raster(canvas).type, 'Raster');
|
||||
equals(new PlacedSymbol().type, 'PlacedSymbol');
|
||||
equals(new PointText().type, 'PointText');
|
||||
});
|
||||
|
||||
test('Item#isInserted', function() {
|
||||
|
|
Loading…
Reference in a new issue