Disqus

Component Disqus
Source:
Parameters:
Name Type Description
$ jQuery Instance of jQuery
document Document Instance of Document
Returns:
List of Disqus methods
Type
Object

Methods

(static) init()

Source:
init method calls in a loop for each disqus component on a page and runs Disqus's ".initInstance" method.

(static) initInstance(component, prop)

Source:
initInstance method sets up disqus_config and calls ".initDisqus" method.
Parameters:
Name Type Description
component jQuery Root DOM element of archive component wrapped by jQuery
prop Object option of disqus component