Skip to content

Instantly share code, notes, and snippets.

@poteto
Created April 17, 2015 22:01
Show Gist options
  • Save poteto/821b6e56f372c72e6bbc to your computer and use it in GitHub Desktop.
Save poteto/821b6e56f372c72e6bbc to your computer and use it in GitHub Desktop.
_setInitialViewport(context=null) {
Ember.assert('You must pass a valid context to _setInitialViewport', context);
return scheduleOnce('afterRender', this, () => {
this._setViewportEntered(context);
});
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment