1/** 2 * @file 3 * Global utilities. 4 * 5 */ 6(function($, Drupal) { 7 8 'use strict'; 9 10 Drupal.behaviors.bootstrap_barrio_subtheme = { 11 attach: function(context, settings) { 12 $(window).scroll(function() { 13 if ($(this).scrollTop() > 50) { 14 $('body').addClass("scrolled"); 15 } else { 16 $('body').removeClass("scrolled"); 17 } 18 }); 19 20 } 21 }; 22 23})(jQuery, Drupal);
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.