<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -29,7 +29,9 @@ Comment.create_table unless ActiveRecord::Base.connection.tables.include?(Commen
 
 class Backchat &lt; Merb::Controller
   def embed
-    render &quot;document.write('#{styles}'); document.write('#{render_comments}');&quot;, :format =&gt; :js
+    script = &quot;document.write('#{render_comments}');&quot; 
+    script += &quot;document.write('#{styles}');&quot; if params[:css]
+    render script, :format =&gt; :js
   end
 
   def show</diff>
      <filename>backchat.rb</filename>
    </modified>
    <modified>
      <diff>@@ -3,6 +3,6 @@
 &lt;h1&gt;Some page&lt;/h1&gt;
 &lt;a href=&quot;#&quot;&gt;this page&lt;/a&gt;
 &lt;hr&gt;
-&lt;script src=&quot;http://localhost:4000/blah.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;http://localhost:4000/blah.js?css=true&quot;&gt;&lt;/script&gt;
 &lt;/body&gt;
 &lt;/html&gt;
\ No newline at end of file</diff>
      <filename>test.html</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>658834d977038780e47058c96d88195d7e93a282</id>
    </parent>
  </parents>
  <author>
    <name>James Adam</name>
    <email>james@lazyatom.com</email>
  </author>
  <url>http://github.com/lazyatom/backchat/commit/8a4d8934bdfa222e4655f9bbdd8f14050c5ae6fd</url>
  <id>8a4d8934bdfa222e4655f9bbdd8f14050c5ae6fd</id>
  <committed-date>2008-05-03T13:45:38-07:00</committed-date>
  <authored-date>2008-05-03T13:45:38-07:00</authored-date>
  <message>Add a flag to control sending the CSS</message>
  <tree>34af2a50428cf4d65aa6910ec08c8c01bd977dc1</tree>
  <committer>
    <name>James Adam</name>
    <email>james@lazyatom.com</email>
  </committer>
</commit>
