PageSourceSearch

https://www.traditionwealthmanagement.com/node_modules/pikaday/plugins/pikaday.jquery.js?v=10.6.15

js traditionwealthmanagement.com collected 2026-09-29 14:12:37 UTC 1,531 bytes, 56 lines download raw bytes

vendor: 1,531 bytes, lines 1-56
1/*!
2 * Pikaday jQuery plugin.
3 *
4 * Copyright © 2013 David Bushell | BSD & MIT license | https://github.com/Pikaday/Pikaday
5 */
6
7(function (root, factory)
8{
9    'use strict';
10
11    if (typeof exports === 'object') {
12        // CommonJS module
13        factory(require('jquery'), require('pikaday'));
14    } else if (typeof define === 'function' && define.amd) {
15        // AMD. Register as an anonymous module.
16        define(['jquery', 'pikaday'], factory);
17    } else {
18        // Browser globals
19        factory(root.jQuery, root.Pikaday);
20    }
21}(this, function ($, Pikaday)
22{
23    'use strict';
24
25    $.fn.pikaday = function()
26    {
27        var args = arguments;
28
29        if (!args || !args.length) {
30            args = [{ }];
31        }
32
33        return this.each(function()
34        {
35            var self   = $(this),
36                plugin = self.data('pikaday');
37
38            if (!(plugin instanceof Pikaday)) {
39                if (typeof args[0] === 'object') {
40                    var options = $.extend({}, args[0]);
41                    options.field = self[0];
42                    self.data('pikaday', new Pikaday(options));
43                }
44            } else {
45                if (typeof args[0] === 'string' && typeof plugin[args[0]] === 'function') {
46                    plugin[args[0]].apply(plugin, Array.prototype.slice.call(args,1));
47
48                    if (args[0] === 'destroy') {
49                        self.removeData('pikaday');
50                    }
51                }
52            }
53        });
54    };
55
56}));

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.