Created
          March 9, 2013 07:37 
        
      - 
      
- 
        Save sujeet/5123331 to your computer and use it in GitHub Desktop. 
  
    
      This file contains hidden or 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_url = disqus_blogger_current_url; | |
| (function(){ | |
| var get_comment_block = function() { | |
| var block = document.getElementById('comments'); | |
| if (!block) { | |
| block = document.getElementById('disqus-blogger-comment-block'); | |
| } | |
| return block; | |
| }; | |
| var comment_block = get_comment_block(); | |
| if (!!comment_block) { | |
| var disqus_div = document.createElement('div'); disqus_div.id = 'disqus_thread'; | |
| // comment_block.innerHTML = ''; | |
| comment_block.appendChild(disqus_div); | |
| var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; | |
| dsq.src = 'http://'+disqus_shortname+'.disqus.com/embed.js'; | |
| (document.getElementsByTagName('head')[0] || document.body).appendChild(dsq); | |
| comment_block.style.display = 'block'; | |
| } | |
| })(); | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment