Commit Graph

4 Commits

Author SHA1 Message Date
afc163
00fac07d9e refactor requestAnimationFrame 2017-02-26 19:08:36 +08:00
陆离
3789e0cbbb Affix listener bug fix (#4756)
*  Affix listener bug fix

 + close #4755
 + close #4760
 + clearScrollEventListeners before setTargetEventListeners
 + add tests for throttle
 + append affix test case

*  genMockFn -> fn()
2017-02-08 14:44:43 +08:00
陆离
5cd111d486 recalculate width while resize (#4676)
+ close #4645
 + throttleByAnimationFrameDecorator as a function decorator
2017-01-26 11:23:54 +08:00
偏右
4f77a2e5f5 Fix back top ssr (#3418)
* improve code style

* move getRequestAnimationFrame to util

* Fix ssr problem in BackTop, close #3343
2016-10-13 16:26:15 +08:00