Created
March 29, 2012 08:12
-
-
Save opi/2234861 to your computer and use it in GitHub Desktop.
Disqus Javascript Callback
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
// In a js file | |
disqus_config = function() { | |
this.callbacks.afterRender.push(function() { /* your code */ }); | |
this.callbacks.onNewComment.push(function() { /* your code */ }); | |
/* Available callbacks are afterRender, onInit, onNewComment, onPaginate, onReady, preData, preInit, preReset */ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Don't work with disqus 2012 :/