Created
December 16, 2013 16:27
-
-
Save eriwen/7989857 to your computer and use it in GitHub Desktop.
JavaScript Events example
This file contains hidden or 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
$(document).on('gnip:activitiesloaded', this.showActivities); | |
$(document).on('gnip:activitieserror', this.showError); | |
function showActivities(eventObj, tweets) { | |
// Render le tweets | |
} | |
function showError() {...} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment