1(function ($, undefined) { 2 'use strict'; 3 4 /** 5 * << accessiBe widget behaviors >> 6 * 7 * @type {Drupal~behavior} 8 * 9 * @prop {Drupal~behaviorAttach} attach 10 * Attach the accessiBe widget. 11 * 12 */ 13 Drupal.behaviors.accessibe_widget = { 14 attach: function (context, settings) { 15 const 16 widget_config = settings.accessibe_widget.widget || {}, 17 do_debug = settings.accessibe_widget.debug, 18 widget_defined = typeof acsbJS !== 'undefined' 19 ; 20 if (widget_defined) { 21 // Note that the init() method does not return anything. 22 acsbJS.init(widget_config); 23 console.info('accessiBe accessWidget has been loaded'); 24 } 25 else { 26 console.warn('accessieBe accessWidget library not found'); 27 } 28 if (do_debug) { 29 console.groupCollapsed('cwb_accessibe debugging info'); 30 console.debug('widget configuration', widget_config); 31 if (widget_defined) { 32 console.trace('acsbJS', acsbJS); 33 } 34 console.groupEnd() 35 } 36 } 37 } 38})(jQuery); 39;
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.