PageSourceSearch

https://www.dwavequantum.com/js/components/placeholder.js

js dwavequantum.com collected 2026-09-24 18:09:44 UTC 419 bytes, 16 lines download raw bytes

1function writePlaceholderSizes() {
2    $(".c-placeholder").each(function (i, item) {
3        var span = $(item).find(".c-placeholder__size");
4        var el = $($(item).parent());
5        span.text($(el).width() + 'x' + $(el).height());
6    });
7}
8
9
10$(function () {
11    if($(".c-placeholder").length > 0)
12    {
13        writePlaceholderSizes();
14        $(window).resize(writePlaceholderSizes);
15    }
16});

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.