1/** 2 * @file 3 * This file contains most of the code for the configuration page. 4 */ 5 6(function ($, drupalSettings) { 7 'use strict'; 8 Drupal.behaviors.shareThis = { 9 attach: function (context) { 10 var applyStButtons = function () { 11 if (typeof stLight === 'undefined' || typeof stButtons === 'undefined') { 12 // Wait for external script to load. 13 setTimeout(applyStButtons, 1); 14 } 15 else { 16 stLight.options(drupalSettings.sharethis); 17 stButtons.locateElements(); 18 } 19 } 20 applyStButtons(); 21 } 22 }; 23})(jQuery, drupalSettings);
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.