Sha256: 82e6622b22be2fdf282386fbfc1b2e6d27a7034dd075cbbee57950cdcc001bfd

Contents?: true

Size: 546 Bytes

Versions: 5

Compression:

Stored size: 546 Bytes

Contents

<% if Hubbub::Config[:disqus_forum] %>
<script type="text/javascript">
//<![CDATA[
(function() {
	var links = document.getElementsByTagName('a');
	var query = '?';
	for(var i = 0; i < links.length; i++) {
	if(links[i].href.indexOf('#disqus_thread') >= 0) {
		query += 'url' + i + '=' + encodeURIComponent(links[i].href) + '&';
	}
	}
	document.write('<script charset="utf-8" type="text/javascript" src="http://disqus.com/forums/<%= Hubbub::Config[:disqus_forum] %>/get_num_replies.js' + query + '"></' + 'script>');
})();
//]]>
</script>
<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
hubbub-0.0.11 lib/app/views/shared/_disqus.html.erb
hubbub-0.0.10 lib/app/views/shared/_disqus.html.erb
hubbub-0.0.9 lib/app/views/shared/_disqus.html.erb
hubbub-0.0.8 lib/app/views/shared/_disqus.html.erb
hubbub-0.0.6 lib/app/views/shared/_disqus.html.erb