PageSourceSearch

https://realestate.jiminypeak.com/js/Debug/dnn.servicesframework.js?cdv=140

js jiminypeak.com collected 2026-09-24 19:02:57 UTC 1,501 bytes, 50 lines download raw bytes

1(function ($) {
2    $.dnnSF = function (moduleId) {
3        // To avoid scope issues, use 'base' instead of 'this'
4        // to reference this class from internal events and functions.
5        var base = this;
6
7        base.getServiceRoot = function (moduleName) {
8            var serviceRoot = dnn.getVar("sf_siteRoot", "/");
9            serviceRoot += "API/" + moduleName + "/";
10            return serviceRoot;
11        };
12
13        base.getTabId = function () {
14            return dnn.getVar("sf_tabId", -1);
15        };
16
17        base.getModuleId = function () {
18            return moduleId;
19        };
20
21        base.setModuleHeaders = function (xhr) {
22            var tabId = base.getTabId();
23            if (tabId > -1) {
24                xhr.setRequestHeader("ModuleId", base.getModuleId());
25                xhr.setRequestHeader("TabId", tabId);
26            }
27
28            var afValue = base.getAntiForgeryValue();
29            if (afValue) {
30                xhr.setRequestHeader("RequestVerificationToken", afValue);
31            }
32        };
33
34        base.getAntiForgeryKey = function () {
35            return "__RequestVerificationToken";
36        };
37
38        base.getAntiForgeryValue = function () {
39            return $('[name="__RequestVerificationToken"]').val();
40        };
41
42        return base;
43    };
44
45    $.ServicesFramework = function (moduleId) {
46        return new $.dnnSF(moduleId);
47    };
48
49})(jQuery);
50//----------------------------

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.