1XA.component.observer = (function($){ 2 var pub = {}, 3 initialized = false, 4 body = $("body"); 5 6 function initObserver() { 7 if((typeof(Sitecore)!== "undefined") && !initialized && body.hasClass("on-page-editor")){ 8 Sitecore.PageModes.ChromeManager.chromesReseted.observe(function(){ 9 XA.init(); 10 }); 11 initialized = true; 12 } 13 } 14 15 pub.init = function(){ 16 initObserver(); 17 } 18 19 return pub; 20 21}(jQuery)); 22 23XA.register("observer", XA.component.observer);
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.