1var CMS = {}; 2 3new CMSFrontendFramework(function(HELPERS) { 4 5 jQuery.extend(CMS, HELPERS); 6 7 // Load debugger script 8 head.js({ debug: CMS.assets.central + '/js/debug.js' }, function() { 9 10 // Only start debugger if it's enabled in developer settings 11 if(CMS.developer.debug) debug.start(); 12 13 debug.log("<mark>Global Settings Loaded</mark>"); 14 15 // Load frontend scripts once globals are set. 16 head.js({ frontend: CMS.assets.local + "/js/frontend.js"}, function() { 17 18 CMS.externalLinks(); 19 20 if(CMS.page.draft) { 21 $("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>'); 22 } 23 24 debug.log("<mark>Frontend Loaded</mark>"); 25 26 debug.log(CMS.page); 27 28 }); 29 30 }); 31 32});
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.