1// Reconnect ActionCable after switching accounts 2 3import { Controller } from "@hotwired/stimulus" 4import consumer from "channels/consumer" 5 6export default class extends Controller { 7 reconnect(event) { 8 if (consumer.connection.isActive()) { 9 consumer.connection.reopen() 10 } 11 } 12}
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.