PageSourceSearch

https://trmnl.com/assets/controllers/chart_loader_controller-00d3b40c.js

js trmnl.com collected 2026-10-03 22:56:27 UTC 409 bytes, 12 lines download raw bytes

1import { Controller } from "@hotwired/stimulus"
2
3// chartkick fires a chartkick:load event when it evaluates, which the Chartkick helper's inline
4// scripts await before painting. Chart.bundle loads first so its adapter exists when that fires.
5export default class extends Controller {
6  async connect() {
7    if (window.Chartkick) return
8
9    await import("Chart.bundle")
10    await import("chartkick")
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.