mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-04 03:45:58 -05:00
Tests: Fix bug in compareItems helper function.
This commit is contained in:
parent
8a1b1041cd
commit
6829233013
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ function compareItems(item, item2) {
|
||||||
if (item._matrix) {
|
if (item._matrix) {
|
||||||
equals(function() {
|
equals(function() {
|
||||||
return item._matrix != item2._matrix;
|
return item._matrix != item2._matrix;
|
||||||
});
|
}, true);
|
||||||
equals(item._matrix.toString(), item2._matrix.toString(),
|
equals(item._matrix.toString(), item2._matrix.toString(),
|
||||||
'item._matrix.toString() == item2._matrix.toString()');
|
'item._matrix.toString() == item2._matrix.toString()');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue