1/* Minimal SharePoint stubs for static export */ 2function _spBodyOnLoadWrapper() {} 3function CoreInvoke() { return null; } 4function ExecuteOrDelayUntilScriptLoaded(fn) { 5 if (typeof fn === 'function') { 6 try { fn(); } catch (e) {} 7 } 8} 9function RegisterSod() {} 10function EnsureScript(name, type, cb) { 11 if (typeof cb === 'function') { 12 try { cb(); } catch (e) {} 13 } 14} 15function EnsureScripts(list, fn) { 16 if (typeof fn === 'function') { 17 try { fn(); } catch (e) {} 18 } 19} 20function DeferWebFormInitCallback() {} 21function removeAllStatus() {} 22function fnRemoveAllStatus() { removeAllStatus(true); } 23function SetAdditionalNavigateHierarchyQString() {} 24if (typeof window.SP === 'undefined') { 25 window.SP = { 26 Ribbon: { 27 PageManager: { 28 get_instance: function () { 29 return { 30 get_commandDispatcher: function () { 31 return { executeCommand: function () {} }; 32 } 33 }; 34 } 35 }, 36 WebPartComponent: { 37 registerWithPageManager: function () {}, 38 get_instance: function () { 39 return { selectWebPart: function () {}, selectWebPartZone: function () {} }; 40 } 41 }, 42 DocLibAspxPageComponent: { registerWithPageManager: function () {} } 43 }, 44 UI: { AspMenu: function () {} } 45 }; 46} 47window.$create = function () {}; 48window.$get = function (id) { return document.getElementById(id); };
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.