1var CMS = {}; 2 3var CENTRAL_CORE_URL = window.location.host.substr(-4) == ".dev" ? "http://centralcore.dev" : "https://assets.cms.cybernautic.com"; 4 5$.getScript(CENTRAL_CORE_URL + "/latest/assets/js/cms-frontend-framework.js", function() { 6 7 new CMSFrontendFramework(function(HELPERS) { 8 9 jQuery.extend(CMS, HELPERS); 10 11 $.getScript("/assets/js/cms/form-validator.js", function() { 12 $.getScript("/assets/js/cms/email-form.js", function() { 13 14 $("[data-module='email-form']").each(function(i,v) { new EMAIL_FORM($(this)); }); 15 16 /////////////////////////////////////////////////////////////////////// 17 // External Links 18 /////////////////////////////////////////////////////////////////////// 19 20 CMS.externalLinks(); 21 22 /////////////////////////////////////////////////////////////////////// 23 // Draft Pages 24 /////////////////////////////////////////////////////////////////////// 25 26 if(CMS.page.draft) { 27 $("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>'); 28 } 29 30 }); 31 }); 32 33 }); 34 35});
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.