mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-21 04:31:20 -08:00
prettier
This commit is contained in:
1 parent
7fe80943a9
commit
7c8a3c2c7d
18 files changed
+37
-55
No files matched your search
@@ -11,9 +11,7 @@ export default function viewInit(art, events) {
|
||||
art.emit('view', isInViewport($container, constructor.SCROLL_GAP));
|
||||
}, constructor.SCROLL_TIME);
|
||||
|
||||
events.proxy(window, 'scroll', () => {
|
||||
scrollFn();
|
||||
});
|
||||
events.proxy(window, 'scroll', () => scrollFn());
|
||||
|
||||
art.on('view', (state) => {
|
||||
if (option.autoMini) {
|
||||
|
||||
Reference in new issue
Block a user