1import { Controller } from "@hotwired/stimulus"; 2 3export default class extends Controller { 4 static targets = ["rruleFreq", "rruleCount"]; 5 6 freqChanged() { 7 if (this.rruleFreqTarget.value === "") { 8 this.hideAll(); 9 } else { 10 this.showAll(); 11 } 12 } 13 14 hideAll() { 15 this.rruleCountTarget.classList.add("hidden"); 16 } 17 18 showAll() { 19 this.rruleCountTarget.classList.remove("hidden"); 20 } 21}
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.