mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-01 02:38:43 -05:00
Improve comparePathStyles test helper.
This commit is contained in:
parent
1cfe34089a
commit
35d71e9e33
1 changed files with 1 additions and 1 deletions
|
@ -148,7 +148,7 @@ function comparePathStyles(style, style2, checkIdentity) {
|
|||
}
|
||||
compareGradientColors(style[key], style2[key], checkIdentity);
|
||||
} else {
|
||||
equals(style[key].toString(), style2[key].toString(),
|
||||
equals(style[key] && style[key].toString(), style2[key] && style2[key].toString(),
|
||||
'Compare PathStyle#' + key);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue