mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-01 02:38:43 -05:00
Tests: clean up whitespace in compareItems.
This commit is contained in:
parent
d03dd05195
commit
fd810e9804
1 changed files with 4 additions and 4 deletions
|
@ -127,7 +127,7 @@ function compareItems(item, item2) {
|
|||
equals(function() {
|
||||
return item.id != item2.id;
|
||||
}, true);
|
||||
|
||||
|
||||
if (item._matrix) {
|
||||
equals(function() {
|
||||
return item._matrix != item2._matrix;
|
||||
|
@ -155,21 +155,21 @@ function compareItems(item, item2) {
|
|||
return item._clockwise == item2._clockwise;
|
||||
}, true);
|
||||
}
|
||||
|
||||
|
||||
// Group specific
|
||||
if (item instanceof Group) {
|
||||
equals(function() {
|
||||
return item._clipped == item2._clipped;
|
||||
}, true);
|
||||
}
|
||||
|
||||
|
||||
// Layer specific
|
||||
if (item instanceof Layer) {
|
||||
equals(function() {
|
||||
return item.project == item2.project;
|
||||
}, true);
|
||||
}
|
||||
|
||||
|
||||
// PlacedSymbol specific
|
||||
if (item instanceof PlacedSymbol) {
|
||||
equals(function() {
|
||||
|
|
Loading…
Reference in a new issue