PageSourceSearch

https://xneelo.co.za/wp-content/themes/xneelo-child/assets/js/src/alert.js?=1663927649

js xneelo.co.za collected 2026-10-02 03:08:41 UTC 467 bytes, 17 lines download raw bytes

1/**
2 * @param {string} msg 
3 * @param {string} type secondary|success|warning|info|alert
4 */
5function getAlertMarkup(msg, type) {
6    if(typeof type === 'undefined') {
7        type = 'secondary';
8    }
9    if(typeof msg === 'undefined') {
10        msg = 'Your message goes here';
11    }
12    var alert = '<div data-alert class="alert-box ' + type + '">';
13    alert += msg;
14    alert += '<a href="#" class="close">&times;</a>';
15    alert += '</div>';
16    return alert;
17}

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.