1import { Controller } from "@hotwired/stimulus" 2 3// Auto-refresh the page once after a short delay so a still-sending draft 4// gets re-rendered with its final state (destroyed on success, idle+error 5// on permanent failure). One-shot, not a polling loop. 6export default class extends Controller { 7 connect() { 8 this.timer = setTimeout(() => window.location.reload(), 3000) 9 } 10 11 disconnect() { 12 clearTimeout(this.timer) 13 } 14}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.