minor fix...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2018-09-02 03:36:18 +03:00
parent 04320742ad
commit dfa10ed65e

View File

@ -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