mirror of
https://github.com/misode/misode.github.io.git
synced 2026-04-23 15:17:09 +00:00
Make list and map entries collapsible (#169)
* Make list entries collapsible * Show errors in collapsed nodes and keep context of loot type * Make map entries collapsible * Add collapse-all functionality
This commit is contained in:
@@ -108,7 +108,7 @@ export function deepEqual(a: any, b: any) {
|
||||
if (Array.isArray(a)) {
|
||||
length = a.length
|
||||
if (length != b.length) return false
|
||||
for (i = length; i-- !== 0;) {
|
||||
for (i = 0; i < length; i++) {
|
||||
if (!deepEqual(a[i], b[i])) return false
|
||||
}
|
||||
return true
|
||||
|
||||
Reference in New Issue
Block a user