I lost a little time with this, maybe something like the following would help others?

diff --git a/sites/all/modules/disqus/README.txt b/sites/all/modules/disqus/README.txt
index b106e9a..41f5d2b 100644
--- a/sites/all/modules/disqus/README.txt
+++ b/sites/all/modules/disqus/README.txt
@@ -67,3 +67,12 @@ Example: Calling threads/details and threads/update
     }
   }
 
+
+ADDING YOUR CALLBACK FROM DRUPAL_ADD_JS
+=============
+
+You may make use of passing callback's to Disqus at load time
+
+drupal_add_js(array('disqus' => array('callbacks' => array('onReady' => array("myCallback")))), 'setting');
+
+

Comments

slashrsm’s picture

Default way of adding callbacks is via form element. See: http://drupalcode.org/project/disqus.git/blob/refs/heads/7.x-1.x:/disqus...

Patch with proper help about callbacks usage would be more than welcome.