PageSourceSearch

https://accounts.adafruit.com/assets/controllers/sign_up_controller-a9d26701.js

js adafruit.com collected 2026-09-24 07:46:14 UTC 498 bytes, 22 lines download raw bytes

1import { Controller } from "@hotwired/stimulus";
2import debounce from "utilities/debounce";
3
4export default class extends Controller {
5  static targets = [ 'email', 'usernameError' ]
6
7  connect() {
8  }
9
10  validateUsername = debounce(this.usernameLookup);
11
12  async usernameLookup(event) {
13    const response = await fetch("/users/availability.json?" + new URLSearchParams({
14        username: event.target.value
15    }));
16    const data = await response.json();
17
18    if (data.username) {
19    }
20  }
21}
22

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.