PageSourceSearch

https://www.meganbayleyphotography.com/static/title/title_24/javas…4fdeaea6e5d8d197907ca1bcb1cb68da75238231.js

js meganbayleyphotography.com collected 2026-10-08 05:56:29 UTC 1,132 bytes, 47 lines download raw bytes

1/*global jQuery */
2/*!
3 * FitText.js 1.0
4 *
5 * Copyright 2011, Dave Rupert http://daverupert.com
6 * Released under the WTFPL license
7 * http://sam.zoy.org/wtfpl/
8 *
9 * Date: Thu May 05 14:23:00 2011 -0600
10 */
11
12
13(function($) {
14  $.fn.fitText = function(kompressor, options) {
15    // Setup options
16    var compressor = kompressor || 1,
17      settings = $.extend(
18        {
19          minFontSize: Number.NEGATIVE_INFINITY,
20          maxFontSize: Number.POSITIVE_INFINITY
21        },
22        options
23      );
24
25    return this.each(function() {
26      // Store the object
27      var $this = $(this);
28
29      // Resizer() resizes items based on the object width divided by the compressor * 10
30      var resizer = function() {
31        $this.css(
32          "font-size",
33          Math.max(
34            Math.min($this.width() / (compressor * 10), parseFloat(settings.maxFontSize)),
35            parseFloat(settings.minFontSize)
36          )
37        );
38      };
39
40      // Call once to set.
41      resizer();
42
43      // Call on resize. Opera debounces their resize by default.
44      $(window).bind("resize", resizer);
45    });
46  };
47})(_4ORMAT.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.