mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-01 02:38:43 -05:00
Fix Item#type test.
This commit is contained in:
parent
fa861f2047
commit
ace98d689f
1 changed files with 3 additions and 1 deletions
|
@ -539,7 +539,9 @@ test('Item#type', function() {
|
|||
equals(new Group().type, 'group');
|
||||
equals(new Path().type, 'path');
|
||||
equals(new CompoundPath().type, 'compoundpath');
|
||||
equals(new Raster().type, 'raster');
|
||||
|
||||
var canvas = document.createElement('canvas');
|
||||
equals(new Raster(canvas).type, 'raster');
|
||||
equals(new PlacedSymbol().type, 'placedsymbol');
|
||||
equals(new PointText().type, 'pointtext');
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue