1/* 2 * To change this license header, choose License Headers in Project Properties. 3 * To change this template file, choose Tools | Templates 4 * and open the template in the editor. 5 */ 6/* global jQuery */ 7/* global Drupal */ 8(function ($, Drupal, window) { 9 // To understand behaviors, see https://drupal.org/node/756722#behaviors 10 Drupal.behaviors.ws_date_multiples_formatter = { 11 attach: function (context, settings) { 12 $(".tooltip-dates-teaser",context ).each(function(){ 13 var htmlPopup = $(this).parent().find(".tooltip-content-dates").html(); 14 $(this).parent().find(".tooltip-content-dates").remove(); 15 $(this).prop("title",htmlPopup); 16 try { 17 $(this).tooltip(); 18 } catch (error) { 19 console.log(error); 20 if ($('body').hasClass('path-admin') || $('body').hasClass('path-communo')) { 21 $(this).removeAttr('title'); 22 $(this).html(htmlPopup); 23 } 24 } 25 }); 26 } 27 28 }; 29})(jQuery, Drupal, this);
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.