Commit 3b947bd
committed
Throttle: Only clear timeouts if they exist
Not sure if this is a real performance issue, but every call to clearTimeout is shown in Chrome Timeline.1 parent 22650b6 commit 3b947bd
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
744 | 744 | | |
745 | 745 | | |
746 | 746 | | |
747 | | - | |
748 | | - | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
749 | 751 | | |
750 | 752 | | |
751 | 753 | | |
| |||
0 commit comments