1'use strict'; 2 3window.BoatShows = window.BoatShows || {}; 4 5(function ($, Drupal, BoatShows) { 6 'use strict'; 7 8 Drupal.behaviors.boatShowAds = { 9 attach: function attach(context, settings) { 10 $('.pencil-ad', context).once('ads').each(function () { 11 var $pencilAd = $(this); 12 var $adCloseBtn = $pencilAd.find('.field > div').append('<div class="pencil-ad-close icon-db-close"></div>'); 13 14 $adCloseBtn.click(function () { 15 $pencilAd.hide(); 16 17 if (BoatShows.hasOwnProperty('Header')) { 18 // Set state of header to be fixed if ad is closed 19 BoatShows.Header.setStateFixed(); 20 } 21 }); 22 }); 23 } 24 }; 25})(jQuery, Drupal, BoatShows); 26//# sourceMappingURL=advertisements.js.map
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.