Created
April 17, 2015 22:13
-
-
Save poteto/d39fed02ff5274ccb68c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_scrollHandler(context=null) { | |
Ember.assert('You must pass a valid context to _scrollHandler', context); | |
const viewportRefreshRate = get(this, 'viewportRefreshRate'); | |
debounce(this, function() { | |
this._setViewportEntered(context); | |
}, viewportRefreshRate); | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment