1/* ----------------------------------------------------------------------------- 2 3 4 5File: JS Core 6Version: 1.0 7Last change: 00/00/00 8-------------------------------------------------------------------------------- */ 9(function() { 10 11 "use strict"; 12 13 var apppilo_all_pages = { 14 init: function() { 15 this.Basic.init(); 16 }, 17 18 Basic: { 19 init: function() { 20 this.allDemoPages(); 21 this.menuLiPositionRelative(); 22 this.newText(); 23 }, 24 25 26 allDemoPages: function (){ 27 $('.side-demo').on("click", function() { 28 $('.demo-page-landing').toggleClass("active"); 29 }); 30 }, 31 32 menuLiPositionRelative: function (){ 33 if(($("li").hasClass("side-demo"))){ 34 $("li.side-demo").addClass('position-relative'); 35 } 36 }, 37 38 newText: function (){ 39 if(($("li").hasClass("side-demo"))){ 40 $("li.side-demo a").append('<span class="new-demo-badge">New</span>'); 41 } 42 }, 43 44 45 } 46 } 47 jQuery(document).ready(function (){ 48 apppilo_all_pages.init(); 49 console.log('appilo demo pages'); 50 }); 51 52})();
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.