PageSourceSearch

https://www.shingle.com/scripts/WaUtilities/LoadingIndicator.js

js shingle.com collected 2026-10-08 03:29:17 UTC 637 bytes, 18 lines download raw bytes

1if (window.jQuery) {
2    $.fn.showLoadingIndicator = function (optionalText) {
3        var l =new LoadingIndicator($(this));
4        l.showLoadingIndicator(optionalText);
5        return this;
6    };
7}
8
9
10var LoadingIndicator = function (elementToShowLoader) {
11    var loaderDiv = '<div class="h2 text-center"><i class="wa-spinner wa-spinner-xl me-2"></i> {{Text}}...</div>',
12        elementToReplace = elementToShowLoader;
13
14    this.showLoadingIndicator = function(optionalText) {
15        var tempLoader = loaderDiv.replace('{{Text}}', (optionalText || 'Loading'));
16        elementToReplace.html(tempLoader);
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.