PageSourceSearch

https://www.pic.int/Resources/Shared/scripts/initWidgets.js

js pic.int collected 2026-10-02 03:27:32 UTC 1,308 bytes, 30 lines download raw bytes

1function loadWidgets() {
2    if (typeof (DotNetNuke) === "undefined")
3        Type.registerNamespace("DotNetNuke.UI.WebControls");
4
5    if (typeof (DotNetNuke.UI.WebControls.Utility) === "undefined")
6        jQuery.getScript($dnn.baseResourcesUrl + "Shared/scripts/DotNetNukeAjaxShared.js",
7                    function() { jQuery.getScript($dnn.baseResourcesUrl + "Shared/scripts/widgets.js"); });
8    else
9        jQuery.getScript($dnn.baseResourcesUrl + "Shared/scripts/widgets.js");
10}
11
12if (typeof ($dnn) === "undefined") {
13    $dnn = new Object();
14    $dnn.pageScripts = document.getElementsByTagName("script");
15    $dnn.scriptUrl = $dnn.pageScripts[$dnn.pageScripts.length - 1].src;
16    $dnn.hostUrl = (typeof ($dnn.hostUrl) == "undefined" ? $dnn.scriptUrl.toLowerCase().replace("resources/shared/scripts/initwidgets.js", "") : $dnn.hostUrl);
17    if (!$dnn.hostUrl.endsWith("/")) $dnn.hostUrl += "/";
18    $dnn.baseDnnScriptUrl = $dnn.hostUrl + "Resources/Shared/scripts/";
19    $dnn.baseResourcesUrl = $dnn.hostUrl + "Resources/";
20}
21
22// jQuery dependency
23if (typeof (Sys) === "undefined")
24    jQuery.getScript($dnn.baseDnnScriptUrl + "MSAJAX/MicrosoftAjax.js", loadWidgets());
25else
26    loadWidgets();
27
28if (Sys && Sys.Application) {
29    Sys.Application.notifyScriptLoaded();
30}

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.