mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-03-14 00:39:57 -04:00
Fix Node.js unit-tests, and add CHANGELOG entry for #1103
This commit is contained in:
parent
89c60b1a05
commit
8a45c5dff9
2 changed files with 7 additions and 1 deletions
|
@ -1,5 +1,11 @@
|
|||
# Change Log
|
||||
|
||||
## `0.10.3` (Unreleased)
|
||||
|
||||
### Changed
|
||||
- Loosely couple Node.js / Electron code to Canvas module, and treat its absence
|
||||
like a headless web worker context in the browser (#1103).
|
||||
|
||||
## `0.10.2`
|
||||
|
||||
### Fixed
|
||||
|
|
|
@ -86,7 +86,7 @@ var equals = function(actual, expected, message, options) {
|
|||
|| type === 'boolean' && 'Boolean'
|
||||
|| type === 'undefined' && 'Undefined'
|
||||
|| Array.isArray(expected) && 'Array'
|
||||
|| expected instanceof self.Element && 'Element' // handle DOM Elements
|
||||
|| expected instanceof window.Element && 'Element' // handle DOM Elements
|
||||
|| (cls = expected && expected._class) // check _class 2nd last
|
||||
|| type === 'object' && 'Object'; // Object as catch-all
|
||||
var comparator = type && comparators[type];
|
||||
|
|
Loading…
Reference in a new issue