PageSourceSearch

https://electronoobs.io/shop/wp-content/plugins/tutor-pro/assets/lib/prism/script.js?ver=3.9.6

js electronoobs.io collected 2026-09-24 10:37:17 UTC 635 bytes, 18 lines download raw bytes

1document.addEventListener('DOMContentLoaded', function () {
2    jQuery('.tutor-container pre').each(function () {
3        let el = jQuery(this),
4            fallback = 'javascript',
5            lang = el.attr('class').trim().replace('language-', '') || fallback,
6            highlighted = null;
7
8        if (Prism) {
9            try {
10                highlighted = Prism.highlight(el.text(), Prism.languages[lang], lang);
11            } catch (error) {
12                highlighted = Prism.highlight(el.text(), Prism.languages[fallback], fallback);
13            }
14
15            highlighted ? el.html(highlighted) : null
16        }
17    })
18})

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.