PageSourceSearch

https://gradle.org/assets/js/events.js

js gradle.org collected 2026-10-01 07:55:26 UTC 820 bytes, 19 lines download raw bytes

1document.addEventListener('DOMContentLoaded', function(event) {
2  // Close Notification
3  var notificationClose = document.getElementById('notification-close');
4  if (notificationClose) {
5    notificationClose.addEventListener('click', function() { track('Notification', 'Closed', 'Build Tool Header') }, false);
6  }
7
8  // Click Notification
9  var notificationLink = document.getElementById('notification-link');
10  if (notificationLink) {
11    notificationLink.addEventListener('click', function() { track('Notification', 'Clicked', 'Build Tool Header') }, false);
12  }
13
14  // Newsletter Submission
15  var newsletterForm = document.getElementById('newsletter-form');
16  if (newsletterForm) {
17    newsletterForm.addEventListener('submit', function() { track('Newsletter', 'Subscribed', 'Build Tool Footer') }, false);
18  }
19});

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.