Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
addShuffleEventListeners = () => {
this.shuffle.on(Shuffle.EventType.LAYOUT, (data) => {
PostsGrid.adjustBkgSize();
});
this.shuffle.on(Shuffle.EventType.REMOVED, (data) => {
PostsGrid.adjustBkgSize();
});
}
addShuffleEventListeners = () => {
this.shuffle.on(Shuffle.EventType.LAYOUT, (data) => {
PostsGrid.adjustBkgSize();
});
this.shuffle.on(Shuffle.EventType.REMOVED, (data) => {
PostsGrid.adjustBkgSize();
});
}