PageSourceSearch

https://cooksclub.worldspice.com/assets/controllers/load_more_controller-f9aad4d4.js

js worldspice.com collected 2026-10-03 21:50:35 UTC 438 bytes, 13 lines download raw bytes

1import { Controller } from "@hotwired/stimulus"
2
3// Shows a spinner inside a load-more link while its turbo_stream fetch is in
4// flight. The response replaces or removes the whole wrapper, so the state
5// never needs resetting on success.
6export default class extends Controller {
7  static targets = ["spinner"]
8
9  loading() {
10    this.spinnerTarget.classList.remove("hidden")
11    this.element.classList.add("pointer-events-none")
12  }
13}

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.