mirror of
https://github.com/flynx/diff.js.git
synced 2025-10-29 02:50:10 +00:00
minor fix...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
04320742ad
commit
dfa10ed65e
2
diff.js
2
diff.js
@ -878,7 +878,7 @@ module.Types = {
|
|||||||
// search instances...
|
// search instances...
|
||||||
if(!type){
|
if(!type){
|
||||||
//type = Object
|
//type = Object
|
||||||
type = A.constructor
|
type = A != null ? A.constructor : null
|
||||||
for(var t of types){
|
for(var t of types){
|
||||||
// leave pure objects for last...
|
// leave pure objects for last...
|
||||||
if(t === Object
|
if(t === Object
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user