Skip to content

Commit fff67da

Browse files
committed
linked lists can be vertical
1 parent f46c6bb commit fff67da

2 files changed

Lines changed: 11 additions & 0 deletions

File tree

index.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,11 @@
113113
<label for='disableNesting'>
114114
Avoid nesting instances within instances
115115
</span>
116+
<span style="white-space: nowrap;">
117+
<input id='verticalLists' type='checkbox'>
118+
<label for='verticalLists'>
119+
Display linked lists vertically
120+
</span>
116121
</span> <!-- #options -->
117122
</td>
118123
</tr></table>

jv-frontend.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -560,3 +560,9 @@ var setOptions = function(lookup_function) {
560560
}
561561
};
562562

563+
var oldSE = structurallyEquivalent;
564+
var structurallyEquivalent = function(obj1, obj2) {
565+
if ($('#verticalLists').is(':checked')) return false;
566+
return oldSE(obj1, obj2);
567+
}
568+

0 commit comments

Comments
 (0)