1(function($) { 2 $(function() { 3 $('[data-toggle="push"]').each(function() { 4 var $this = $(this); 5 $('#sidebar-wrapper').css('display','block'); 6 var $target = $($this.data('target') || $this.attr('href') || '#sidebar-wrapper'); 7 var direction = $this.data('direction') || 'left'; 8 9 $target.addClass('navbar-push').addClass('navbar-push-' + direction); 10 11 12 var $canvas = $($this.data('canvas') || '.content-site'); 13 $canvas.addClass('push-canvas'); 14 15 $this.on('click', function(e) { 16 $this.toggleClass('active '); 17 //$('#sidebar-wrapper,.content-site').toggleClass('animated my-animation') 18 19 if ($this.is('.fa-bars')) { 20 $this.toggleClass('fa-rotate-90'); 21 } 22 $canvas.toggleClass('pushed-' + direction); 23 $target.toggleClass('in'); 24 $('.header-fixed').toggleClass('header-push-left'); 25 26 }); 27 }); 28 }); 29})(jQuery);
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.