lib/awestruct/extensions/intense_debate.rb in awestruct-0.0.4 vs lib/awestruct/extensions/intense_debate.rb in awestruct-0.0.5
- old
+ new
@@ -1,26 +1,19 @@
-#module Awestruct
- #module Extension
- #class IntenseDebate
-#
- #def execute(site)
- #end
-#
- #end
- #end
-#end
+module Awestruct
+ module Extensions
+ module IntenseDebate
-module Haml::Helpers
-
- def intense_debate_comments()
- html = %Q(<script>\n)
- html += %Q( var idcomments_acct='#{site.intense_debate_acct}';\n)
- html += %Q( var idcomments_post_id;\n)
- html += %Q( var idcomments_post_url;\n)
- html += %Q(</script>\n)
- html += %Q(<span id="IDCommentsPostTitle" style="display:none"></span>\n)
- html += %Q(<script type='text/javascript' src='http://www.intensedebate.com/js/genericCommentWrapperV2.js'></script>\n)
- html
+ def intense_debate_comments()
+ html = %Q(<script>\n)
+ html += %Q( var idcomments_acct='#{site.intense_debate_acct}';\n)
+ html += %Q( var idcomments_post_id;\n)
+ html += %Q( var idcomments_post_url;\n)
+ html += %Q(</script>\n)
+ html += %Q(<span id="IDCommentsPostTitle" style="display:none"></span>\n)
+ html += %Q(<script type='text/javascript' src='http://www.intensedebate.com/js/genericCommentWrapperV2.js'></script>\n)
+ html
+ end
+ end
end
end