1 2 var CMS = {}; 3 4 new CMSFrontendFramework(function(HELPERS) { 5 6 jQuery.extend(CMS, HELPERS); 7 8 // Load debugger script 9 head.js({ debug: CMS.assets.central + '/js/debug.js' }, function() { 10 11 // Only start debugger if it's enabled in developer settings 12 if(CMS.developer.debug) debug.start(); 13 14 debug.log("<mark>Global Settings Loaded</mark>"); 15 16 // Load frontend scripts once globals are set. 17 head.js({ frontend: CMS.assets.local + "/js/frontend.js"}, function() { 18 19 CMS.externalLinks(); 20 21 if(CMS.page.draft) { 22 $("body").prepend('<div style="position: fixed;top: 5px;left: 5px;background: rgba(255,0,0,0.3);padding: 8px 16px;font-style: italic;color: #fff;text-shadow: 1px 1px 1px rgba(0,0,0,0.2);z-index: 9999999;">Draft</div>'); 23 } 24 25 debug.log("<mark>Frontend Loaded</mark>"); 26 27 debug.log(CMS.page); 28 29 }); 30 31 }); 32 33 });
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.