1$(function(){ 2 $(document).delegate('.breadcrumbs .separator', 'click', function (event) { 3 var $cTarget = $(event.currentTarget) 4 , $menu 5 , id = $cTarget.data('ddid'); 6 if(id==undefined){ 7 $menu = $cTarget.next('.dropdown-actions-menu') 8 if($menu.length==0) return 9 id = _.uniqueId('dropdown-actions-menu-'); 10 $cTarget.data('ddid', id); 11 $menu.attr('id', id).hide(); 12 $(".breadcrumbs .separator").removeClass("active_separate"); 13 $(".breadcrumbs .dropdown-actions-menu").hide(); 14 $menu.data('ddid', id); 15 $menu.appendTo('body'); 16 }; 17 $menu = $('#' + id); 18 $menu.toggle(); 19 if($menu.is(':visible')){ 20 $menu.data('origin', 'main').position({ 21 my: 'left top', 22 at: 'left bottom', 23 of: $cTarget, 24 offset: '0px 2px', 25 collision:"none" 26 }); 27 } 28 $cTarget.toggleClass("active_separate"); 29 }) 30 $(document).click(function (event) { 31 var $target = $(event.target); 32 if (!$target.closest('.breadcrumbs, .dropdown-actions').length) { 33 $(".dropdown-actions-menu").hide(); 34 $(".breadcrumbs .separator").removeClass("active_separate"); 35 } 36 }); 37})
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.