PageSourceSearch

https://techbash.com/techbash/js/techbash.js

js techbash.com collected 2026-10-02 06:03:45 UTC 2,086 bytes, 63 lines download raw bytes

1//import { start } from "repl";
2
3var Countdown = function () {
4    // Variables
5    var $countdown = $('[data-countdown]'); // Methods
6
7    function init($this) {
8        var finalDate = $this.data('countdown');
9        $this.countdown(finalDate, function (event) {
10            if (typeof $this.data('countdown-template') != 'undefined') {
11                $this.html(event.strftime($this.data('countdown-template')
12                    .replace('[D]', '%D').replace('[H]', '%H').replace('[M]','%M').replace('[S]', '%S')));
13            } else {
14                $this.html(event.strftime('%D days %H:%M:%S'));
15            }
16        });
17    } // Events
18
19
20    if ($countdown.length) {
21        $countdown.each(function () {
22            init($(this));
23        });
24    }
25}();
26
27//$("#NewsletterSignup").submit(function (event) {
28//    var form = $("#NewsletterSignup");
29//    var token = $("input[name=\"__RequestVerificationToken\"]", form).val();
30//    var emailAddress = $("#Newsletter-Email", form).val();
31
32//    $.ajax({
33//        url: '/Newsletter/Signup',
34//        type: 'POST',
35//        data: {
36//            __RequestVerificationToken: token,
37//            emailAddress: emailAddress
38//        },
39//        success: function (result) {
40//            if (result === "true") {
41//                $("#NewsletterSignup").hide();
42//                $("#NewsletterSignupSuccessful").show();
43//            } else {
44//                alert("An error has occurred. Please try again.");
45//            }
46//        }
47//    });
48//    return false;
49//});
50
51$('#speakers-right-button').click(function() {
52    event.preventDefault();
53    $('.sz-speakers--wall').animate({
54        scrollLeft: ($('.sz-speakers--wall').scrollLeft() + ($('.sz-speakers--wall')[0].clientWidth * .6))
55    }, "fast");
56});
57
58$('#speakers-left-button').click(function() {
59    event.preventDefault();
60    $('.sz-speakers--wall').animate({
61        scrollLeft: ($('.sz-speakers--wall').scrollLeft() - ($('.sz-speakers--wall')[0].clientWidth * .6))
62    }, "fast");
63});

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.