<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>config/jake.yml</filename>
    </added>
    <added>
      <filename>public/javascripts/live/.gitignore</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -16,6 +16,7 @@ dependencies, Paper Trail requires the following Gems:
   and [SmartyPants][5].
 * [`will_paginate`][6]
 * [URLify][7]
+* [Jake][10]
 
 
 Configuration
@@ -47,12 +48,13 @@ with this software for details. If you have not received a copy of the license,
 you can [get a copy][9] from the Free Software Foundation.
 
 
-[1]:http://rubyonrails.org/
-[2]:http://daringfireball.net/projects/markdown/
-[3]:http://extralogical.net/
-[4]:http://github.com/rtomayko/rdiscount/
-[5]:http://daringfireball.net/projects/smartypants/
-[6]:http://github.com/mislav/will_paginate/
-[7]:http://github.com/ionfish/urlify/
-[8]:http://wiki.rubyonrails.org/rails/pages/database.yml
-[9]:http://www.fsf.org/licensing/licenses/info/GPLv2.html
+[1]:  http://rubyonrails.org/
+[2]:  http://daringfireball.net/projects/markdown/
+[3]:  http://extralogical.net/
+[4]:  http://github.com/rtomayko/rdiscount/
+[5]:  http://daringfireball.net/projects/smartypants/
+[6]:  http://github.com/mislav/will_paginate/
+[7]:  http://github.com/ionfish/urlify/
+[8]:  http://wiki.rubyonrails.org/rails/pages/database.yml
+[9]:  http://www.fsf.org/licensing/licenses/info/GPLv2.html
+[10]: http://github.com/jcoglan/jake/</diff>
      <filename>README.md</filename>
    </modified>
    <modified>
      <diff>@@ -25,6 +25,14 @@ module ApplicationHelper
     end
   end
   
+  def application_javascript
+    if RAILS_ENV == &quot;production&quot;
+      javascript_include_tag(&quot;jquery-1.3.2.min.js&quot;, &quot;edit.js&quot;, &quot;graphs.js&quot;, &quot;application.js&quot;)
+    else
+      javascript_include_tag(&quot;jquery-1.3.2.min.js&quot;, &quot;live/app-min.js&quot;)
+    end
+  end
+  
   def headcontent
     # No additional header content yet!
   end</diff>
      <filename>app/helpers/application_helper.rb</filename>
    </modified>
    <modified>
      <diff>@@ -26,6 +26,6 @@
   	&lt;/div&gt;
   &lt;/div&gt;
   
-  &lt;%= javascript_include_tag(&quot;jquery-1.3.2.min.js&quot;, &quot;edit.js&quot;, &quot;graphs.js&quot;, &quot;application.js&quot;) %&gt;
+  &lt;%= application_javascript %&gt;
   &lt;%= headcontent %&gt;
 &lt;/body&gt;&lt;/html&gt;</diff>
      <filename>app/views/layouts/application.html.erb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>0b3abeec759b25c2620bb783df9082834d8c6d5c</id>
    </parent>
  </parents>
  <author>
    <name>Benedict Eastaugh</name>
    <email>benedict@eastaugh.net</email>
  </author>
  <url>http://github.com/ionfish/papertrail/commit/e5c1267605d20b78307f819348b54d9fa5ca7ee1</url>
  <id>e5c1267605d20b78307f819348b54d9fa5ca7ee1</id>
  <committed-date>2009-09-17T06:14:08-07:00</committed-date>
  <authored-date>2009-09-17T06:12:39-07:00</authored-date>
  <message>Use a concatenated, minified version of the application JavaScript in production environments.</message>
  <tree>9f6096e42465ebc914e9cdb66f83ac9b0b9e6b2c</tree>
  <committer>
    <name>Benedict Eastaugh</name>
    <email>benedict@eastaugh.net</email>
  </committer>
</commit>
