1/** 2 * @module confluence/table-floating-scrollbar 3 */ 4define('confluence/table-floating-scrollbar', [ 5 'jquery' 6], function($) { 7 'use strict'; 8 9 var TableFloatingScrollbar = {}; 10 11 TableFloatingScrollbar.initialize = function() { 12 // Enable floating scrollbars for tables inside the content area 13 // see: jquery.floatingScrollbar.js 14 var tables = $('.wiki-content').find('.table-wrap'); 15 if (tables.length) { 16 tables.floatingScrollbar(); 17 } 18 }; 19 return TableFloatingScrollbar; 20}); 21 22/* istanbul ignore next */ 23require('confluence/module-exporter').safeRequire('confluence/table-floating-scrollbar', function(TableFloatingScrollbar) { 24 'use strict'; 25 26 require('ajs').toInit(TableFloatingScrollbar.initialize); 27});
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.