style: apply eslint --fix (semi, indent 4); no behavior change, Jest 68/68
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Assistant: claude-code Assistant-Model: sonnet Assistant-Process: 299063@bnt-lap001 Assistant-Session: 53eb1e1c-c13a-4277-9ce2-3702960d93f7
This commit is contained in:
parent
de47bf1d2b
commit
652cb4e255
43 changed files with 1081 additions and 1115 deletions
|
|
@ -101,7 +101,6 @@ class DebugControl extends ControlBase {
|
|||
window.addEventListener('unhandledrejection', (event) => {
|
||||
this.addDebugMessage('PROMISE_REJECT', `Unhandled promise rejection: ${event.reason}`, 'error');
|
||||
});
|
||||
|
||||
}, null, 'initializeDebugCapture');
|
||||
}
|
||||
|
||||
|
|
@ -133,7 +132,6 @@ class DebugControl extends ControlBase {
|
|||
if (this.element && this.isExpanded) {
|
||||
this.updateMessageDisplay();
|
||||
}
|
||||
|
||||
}, null, 'addDebugMessage');
|
||||
}
|
||||
|
||||
|
|
@ -162,9 +160,9 @@ class DebugControl extends ControlBase {
|
|||
cookieEnabled: navigator.cookieEnabled,
|
||||
onlineStatus: navigator.onLine ? 'Online' : 'Offline',
|
||||
protocol: window.location.protocol,
|
||||
memory: performance.memory ?
|
||||
`Used: ${Math.round(performance.memory.usedJSHeapSize / 1024 / 1024)}MB` :
|
||||
'Not available'
|
||||
memory: performance.memory
|
||||
? `Used: ${Math.round(performance.memory.usedJSHeapSize / 1024 / 1024)}MB`
|
||||
: 'Not available'
|
||||
};
|
||||
|
||||
// Get Markitect version from config or default
|
||||
|
|
@ -183,7 +181,6 @@ class DebugControl extends ControlBase {
|
|||
</div>
|
||||
</div>
|
||||
`;
|
||||
|
||||
}, '', 'generateSystemInfoHTML');
|
||||
}
|
||||
|
||||
|
|
@ -215,7 +212,6 @@ class DebugControl extends ControlBase {
|
|||
</div>
|
||||
</div>
|
||||
`;
|
||||
|
||||
}, '', 'generatePerformanceHTML');
|
||||
}
|
||||
|
||||
|
|
@ -267,7 +263,6 @@ class DebugControl extends ControlBase {
|
|||
${messagesHTML}
|
||||
</div>
|
||||
`;
|
||||
|
||||
}, '<p>Error displaying messages</p>', 'generateMessagesHTML');
|
||||
}
|
||||
|
||||
|
|
@ -389,7 +384,6 @@ class DebugControl extends ControlBase {
|
|||
|
||||
URL.revokeObjectURL(url);
|
||||
this.addDebugMessage('EXPORT', 'Debug log exported successfully', 'info');
|
||||
|
||||
}, null, 'exportMessages');
|
||||
}
|
||||
|
||||
|
|
@ -482,4 +476,4 @@ if (typeof module !== 'undefined' && module.exports) {
|
|||
// Also expose globally: bundlers shim `module`, so the else-branch never ran in dist builds
|
||||
if (typeof window !== 'undefined') {
|
||||
window.DebugControl = DebugControl;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue