Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: document is wrong? #100

Closed
BigWestGang opened this issue Sep 10, 2018 · 0 comments
Closed

Question: document is wrong? #100

BigWestGang opened this issue Sep 10, 2018 · 0 comments

Comments

@BigWestGang
Copy link

I read the document.
However, when you read the actual source code comment, only InitialLoad exists as a parameter.

/**
* favorites-user-favorites-loaded
* Fires after the user's favorites have loaded
* @param favorites - Array of post objects the user has favorited
* @param intial_load - Boolean 
*/
$(document).on('favorites-user-favorites-loaded', function(event, favorites, intial_load){
  // Do stuff here as needed
});
  • in assets/js/favorites.js
* favorites-user-favorites-loaded: The user's favorites have been loaded. Params: intialLoad (bool)

Document information is old?
Or is it the wrong modification of this version?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant