Skip to content

Commit e85fb76

Browse files
committed
Merge branch 'pr-142' into stack-1.0.2
fixes elm#142 fixes elm#141
2 parents dce5b3e + f3607f8 commit e85fb76

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/Elm/Kernel/Debugger.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -438,18 +438,18 @@ function _Debugger_init(value)
438438
}
439439

440440
var char = tag.charCodeAt(0);
441-
if (char === 35 || 65 <= char && char <= 90)
441+
if (/* a */ 0x61 <= char && char <= 0x7A /* z */)
442442
{
443-
var list = __List_Nil;
444-
for (var i in value)
445-
{
446-
if (i === '$') continue;
447-
list = __List_Cons(_Debugger_init(value[i]), list);
448-
}
449-
return A3(__Expando_Constructor, char === 35 ? __Maybe_Nothing : __Maybe_Just(tag), true, __List_reverse(list));
443+
return __Expando_Primitive('<internals>');
450444
}
451445

452-
return __Expando_Primitive('<internals>');
446+
var list = __List_Nil;
447+
for (var i in value)
448+
{
449+
if (i === '$') continue;
450+
list = __List_Cons(_Debugger_init(value[i]), list);
451+
}
452+
return A3(__Expando_Constructor, char === 35 ? __Maybe_Nothing : __Maybe_Just(tag), true, __List_reverse(list));
453453
}
454454

455455
if (typeof value === 'object')

0 commit comments

Comments
 (0)