PageSourceSearch

https://metalworkingmag.com/packages/pagekit/imp-avion/js/theme.js?v=1a89

js metalworkingmag.com collected 2026-09-29 21:56:47 UTC 1,601 bytes, 55 lines download raw bytes

1(function($){
2
3    $(function(){
4
5        // fit footer
6        (function(main, meta, fn){
7
8            if (!main.length) return;
9
10            fn = function() {
11
12                main.css('min-height','');
13
14                meta = document.body.getBoundingClientRect();
15
16                if (meta.height < window.innerHeight) {
17                    main.css('min-height', (main.outerHeight() + (window.innerHeight - meta.height))+'px');
18                }
19
20                return fn;
21            };
22
23            UIkit.$win.on('load resize', fn());
24
25        })($('#tm-main'));
26
27        // Ripple Effect (by http://codepen.io/440design/pen/iEztk), modified by YOOtheme
28        (function(d, x, y){
29
30            $(document).on("click", ".uk-button, .uk-nav-dropdown > li > a, .uk-nav-navbar > li > a, .uk-nav-offcanvas > li > a, .uk-tab > li > a", function(e){
31
32                var ele = $(this), ink = ele.data('ripple');
33
34                if (!ink){
35                    ink = $("<span class='tm-ripple'></span>").prependTo(ele);
36                    ele.data('ripple', ink);
37                }
38
39                ink.removeClass("tm-animate-ripple");
40
41                if (!ink.height() && !ink.width()){
42                    d = Math.max(ele.outerWidth(), ele.outerHeight());
43                    ink.css({height: d, width: d});
44                }
45
46                x = e.pageX - ele.offset().left - ink.width()/2;
47                y = e.pageY - ele.offset().top - ink.height()/2;
48
49                ink.css({top: y+'px', left: x+'px'}).addClass("tm-animate-ripple");
50            });
51        })();
52
53    });
54
55})(jQuery);

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.