1(function(){ 2 var updateCount = function(dataServiceId, value) { 3 var $container = $('[data-service-id="'+dataServiceId+'"]'); 4 var $notifyCount = $container.find('.notify-count'); 5 value = parseInt(value); 6 if (!value) { 7 $notifyCount.addClass('hide'); 8 } 9 else { 10 $notifyCount.removeClass('hide'); 11 $notifyCount.html(value); 12 } 13 }; 14 //window.accountUserWebSocketConnection.subscribeChannel( 15 // 'updateMessagesStat_'+window.accountUserId, 16 // function(message, json){ 17 // ajaxCall('/notifications/messageStat/unchecked', {}, { 18 // suppressErrors : true 19 // }, function(response){ 20 // updateCount('notifications', response.stat.total); 21 // updateCount('notifications-my', response.stat.my); 22 // updateCount('notifications-inbox', response.stat.inbox); 23 // }); 24 // } 25 //); 26})();
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.