1/* 2 * This message is sent from the popup window that allows the user to connect an OAuth integration. 3 * 4 * We have to use postMessage to get around cross-origin communication if the user is on a custom subdomain, 5 * since the OAuth callback page is always on the default subdomain. 6 * 7 * We then dispatch the event on the window so it can be used by Stimulus actions. 8 */ 9window.addEventListener("message", (event) => { 10 if (event.data?.messageType !== "oauth") return 11 12 window.dispatchEvent(new Event(`oauth:${event.data.eventType}`)) 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.