1import { CustomProperties } from 'customProperties'; 2import { ScrollDirection } from 'scrollDirection'; 3import { EventThrottle } from 'event-throttle'; 4 window.scrollEvent = function() { 5 //if (typeof Paginate !== 'undefined') { 6 // Paginate.scrollCheck(); // use this if you want to trigger pagination on scrolling 7 //} 8 9 if (typeof ScrollDirection !== 'undefined') { 10 ScrollDirection.checkDirection(); 11 } 12 13 // GlobalEventThrottle.throttleScroll = false; 14 //console.log(GlobalEventThrottle.scrollEvent); 15} 16 17 window.resizeEvent = function() { 18 CustomProperties.update(); // us this to update custom properties 19 20 // GlobalEventThrottle.throttleResize = false; 21 //console.log(GlobalEventThrottle.resizeEvent); 22} 23 24 window.loadEvent = function() { 25 // Put your code here 26 CustomProperties.update(); 27} 28 29window.readyEvent = function () { 30 // Put your code here 31 32 window.iframeResizer = { 33 license: "GPLv3", 34 onReady: () => console.log("iframe-resizer is ready"), 35 } 36 console.log(window.iframeResizer) 37} 38 39 40 41EventThrottle.init(); 42
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.