PageSourceSearch

https://www.avad.at/typo3conf/ext/slick/Resources/Public/JavaScript/randomize.js?1654764573

js avad.at collected 2026-10-06 20:25:31 UTC 438 bytes, 16 lines download raw bytes

1/**
2 * Rearrange child elements in random order
3 *
4 * @see http://jsfiddle.net/C6LPY/2/
5 */
6(function($) {
7    $.fn.randomize = function() {
8        return this.each(function() {
9            var parent = $(this);
10            var children = parent.children();
11            while(children.length) {
12                parent.append(children.splice(Math.floor(Math.random() * children.length), 1)[0]);
13            }
14        });
15    }
16})(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.