Created
July 12, 2010 18:24
-
-
Save valueof/472854 to your computer and use it in GitHub Desktop.
Description and examples for Disqus events
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
var disqus_config = function () { | |
var config = this; // Access to the config object | |
/* | |
All currently supported events: | |
* preData — fires just before we request for initial data | |
* preInit - fires after we get initial data but before we load any dependencies | |
* onInit - fires when all dependencies are resolved but before dtpl template is rendered | |
* afterRender - fires when template is rendered but before we show it | |
* onReady - everything is done | |
*/ | |
config.callbacks.onReady.push(function () { | |
// This code will be executed when embed is ready and visible. | |
}); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment