PageSourceSearch

https://makethisbetter.dev/assets/controllers/bridge/notification_badge_controller-60b5ca1f.js

js makethisbetter.dev collected 2026-10-04 23:29:06 UTC 357 bytes, 15 lines download raw bytes

1import { BridgeComponent } from "@hotwired/hotwire-native-bridge"
2
3export default class extends BridgeComponent {
4  static component = "notification-badge"
5
6  // Unread notification counts
7  static values = {
8    total: Number,
9    account: Number
10  }
11
12  totalValueChanged() {
13    this.send("update", { app: this.totalValue, tab: this.accountValue })
14  }
15}

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.