parent
7a7cdd8e76
commit
e6877a5198
1 changed files with 4 additions and 1 deletions
|
|
@ -254,7 +254,10 @@ proc eq(a, b: VNode; recursive: bool): EqResult =
|
||||||
for i in 0..<a.len:
|
for i in 0..<a.len:
|
||||||
if eq(a[i], b[i], recursive) == different: return different
|
if eq(a[i], b[i], recursive) == different: return different
|
||||||
elif a.kind == VNodeKind.dthunk:
|
elif a.kind == VNodeKind.dthunk:
|
||||||
return identical
|
if a.dom == b.dom:
|
||||||
|
return identical
|
||||||
|
else: # fix #119
|
||||||
|
return different
|
||||||
elif a.kind == VNodeKind.verbatim:
|
elif a.kind == VNodeKind.verbatim:
|
||||||
if a.text != b.text:
|
if a.text != b.text:
|
||||||
return different
|
return different
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue