pdftract/crates/pdftract-inspector-ui/static/app.js
jedarden 1c6f26ecaa fix(bf-4mkhv): clean up unused imports in hash.rs
The bead description mentioned compile errors in hash.rs from API drift,
but those errors were either already fixed or misattributed. The API usage
was already correct:
- compute_fingerprint already takes 3 arguments with source
- len() already propagates Result with ?
- read_at method already used correctly
- Catalog fields accessed via trailer correctly

Only cleanup: removed unused std::fs::File and std::io imports.

Verification: notes/bf-4mkhv.md
2026-06-01 09:43:48 -04:00

20 lines
580 B
JavaScript

// pdftract inspector UI application (stub)
(function() {
'use strict';
const viewer = document.getElementById('viewer');
function init() {
console.log('pdftract inspector UI initialized (stub)');
// TODO: Load PDF data and render extraction overlays
viewer.innerHTML = '<p class="placeholder">Inspector UI stub — awaiting Phase 7.9 implementation</p>';
}
// Initialize on DOM ready
if (document.readyState === 'loading') {
document.addEventListener('DOMContentLoaded', init);
} else {
init();
}
})();