<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,2 +1,4 @@
-= javascript_include_tag &quot;jquery-1.3.2&quot;, &quot;application&quot;, :cache =&gt; true
+= javascript_include_tag &quot;http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js&quot;
+= javascript_include_tag &quot;application&quot;
+
 = yield :javascript</diff>
      <filename>assets/app/views/layouts/_javascript.html.haml</filename>
    </modified>
    <modified>
      <diff>@@ -1,73 +0,0 @@
-function toggle_contents(node, content_class) {
-  var contents = node.find(content_class);
-  if (contents.is(&quot;:visible&quot;)) {
-    node.addClass(&quot;closed&quot;);
-    node.removeClass(&quot;opened&quot;);
-    contents.slideUp();
-  } else {
-    node.removeClass(&quot;closed&quot;);
-    node.addClass(&quot;opened&quot;);
-    contents.slideDown();
-  }
-};
-
-function hide_or_show_notes_by_company(checkbox_node) {
-  var checkbox = $(checkbox_node);
-  var company_name = $.trim(checkbox.val());
-  $(&quot;.note&quot;).each(function() {
-    if ($.trim($(this).children(&quot;.company_name&quot;).text()) == company_name) { 
-      if (checkbox.is(&quot;:checked&quot;)) {
-        $(this).fadeIn(&quot;normal&quot;, function() {$(this).show()}); 
-      } else {
-        $(this).fadeOut(&quot;normal&quot;, function() {$(this).hide()}); 
-      };
-    };
-  });
-};
-
-function open_external_links_in_new_window() {
-  $(&quot;.external&quot;).attr(&quot;target&quot;, &quot;_blank&quot;);
-}
-
-$(document).ready(function() {
-  $('#participating_company_filters input').change(function() { 
-    hide_or_show_notes_by_company(this);
-  });
-
-  $('.pages-show .notes .note').each(function() { 
-    var note = $(this);
-    $(note).find('.contents').hide();
-    $(note).find('.note_type').hide();
-    note.find('.title').click(function(event) { 
-      toggle_contents(note, &quot;.contents&quot;); 
-      toggle_contents(note, &quot;.note_type&quot;)
-      event.preventDefault();
-    });
-    note.find('.note_type').click(function(event) { 
-      toggle_contents(note, &quot;.contents&quot;); 
-      toggle_contents(note, &quot;.note_type&quot;)
-      event.preventDefault();
-    });
-  });
-  
-  $('.pages-show #filter_notes').each(function() { 
-    var filter = $(this);
-    $(filter).find('.companies').hide();
-    filter.find('.title').click(function(event) { 
-      toggle_contents(filter, &quot;.companies&quot;); 
-      event.preventDefault();
-    });
-  });
-
-  $('.user').each(function() { 
-    var owner = $(this);
-    owner.find('.name').click(function(event) { 
-      toggle_contents(owner, &quot;.owner_contents&quot;); 
-      event.preventDefault();
-    });
-    $(owner).find('.owner_contents').hide();
-  });
-
-  open_external_links_in_new_window();
-});
-</diff>
      <filename>assets/public/javascripts/application.js</filename>
    </modified>
    <modified>
      <diff>@@ -1,2 +1,4 @@
-= javascript_include_tag &quot;jquery-1.3.2&quot;, &quot;application&quot;, :cache =&gt; true
+= javascript_include_tag &quot;http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js&quot;
+= javascript_include_tag &quot;application&quot;
+
 = yield :javascript</diff>
      <filename>gold/app/views/layouts/_javascript.html.haml</filename>
    </modified>
    <modified>
      <diff>@@ -1,73 +0,0 @@
-function toggle_contents(node, content_class) {
-  var contents = node.find(content_class);
-  if (contents.is(&quot;:visible&quot;)) {
-    node.addClass(&quot;closed&quot;);
-    node.removeClass(&quot;opened&quot;);
-    contents.slideUp();
-  } else {
-    node.removeClass(&quot;closed&quot;);
-    node.addClass(&quot;opened&quot;);
-    contents.slideDown();
-  }
-};
-
-function hide_or_show_notes_by_company(checkbox_node) {
-  var checkbox = $(checkbox_node);
-  var company_name = $.trim(checkbox.val());
-  $(&quot;.note&quot;).each(function() {
-    if ($.trim($(this).children(&quot;.company_name&quot;).text()) == company_name) { 
-      if (checkbox.is(&quot;:checked&quot;)) {
-        $(this).fadeIn(&quot;normal&quot;, function() {$(this).show()}); 
-      } else {
-        $(this).fadeOut(&quot;normal&quot;, function() {$(this).hide()}); 
-      };
-    };
-  });
-};
-
-function open_external_links_in_new_window() {
-  $(&quot;.external&quot;).attr(&quot;target&quot;, &quot;_blank&quot;);
-}
-
-$(document).ready(function() {
-  $('#participating_company_filters input').change(function() { 
-    hide_or_show_notes_by_company(this);
-  });
-
-  $('.pages-show .notes .note').each(function() { 
-    var note = $(this);
-    $(note).find('.contents').hide();
-    $(note).find('.note_type').hide();
-    note.find('.title').click(function(event) { 
-      toggle_contents(note, &quot;.contents&quot;); 
-      toggle_contents(note, &quot;.note_type&quot;)
-      event.preventDefault();
-    });
-    note.find('.note_type').click(function(event) { 
-      toggle_contents(note, &quot;.contents&quot;); 
-      toggle_contents(note, &quot;.note_type&quot;)
-      event.preventDefault();
-    });
-  });
-  
-  $('.pages-show #filter_notes').each(function() { 
-    var filter = $(this);
-    $(filter).find('.companies').hide();
-    filter.find('.title').click(function(event) { 
-      toggle_contents(filter, &quot;.companies&quot;); 
-      event.preventDefault();
-    });
-  });
-
-  $('.user').each(function() { 
-    var owner = $(this);
-    owner.find('.name').click(function(event) { 
-      toggle_contents(owner, &quot;.owner_contents&quot;); 
-      event.preventDefault();
-    });
-    $(owner).find('.owner_contents').hide();
-  });
-
-  open_external_links_in_new_window();
-});
-</diff>
      <filename>gold/public/javascripts/application.js</filename>
    </modified>
    <modified>
      <diff>@@ -3,7 +3,6 @@ require 'open-uri'
 @app_name        = File.basename(@root)
 @heroku_app_name = File.basename(@root).gsub('_', '-')
 @template_root   = File.dirname(template)
-@jquery_version  = &quot;1.3.2&quot;
 @human_app_name  = @app_name.gsub(/[-_]/, ' ').humanize
 @title_app_name  = @app_name.gsub(/[-_]/, ' ').titlecase
 
@@ -46,10 +45,6 @@ inside &quot;public/stylesheets&quot; do
   run &quot;rm -rf joshuaclayton-blueprint*&quot;
 end
 
-inside &quot;public/javascripts&quot; do
-  run &quot;curl -L http://jqueryjs.googlecode.com/files/jquery-#{@jquery_version}.js -o jquery-#{@jquery_version}.js&quot;
-end
-
 plugin 'trusted-params',        :git =&gt; &quot;git://github.com/ryanb/trusted-params.git&quot;
 plugin 'hoptoad_notifier',      :git =&gt; &quot;git://github.com/thoughtbot/hoptoad_notifier.git&quot;
 plugin 'high_voltage',          :git =&gt; &quot;git://github.com/thoughtbot/high_voltage.git&quot;
@@ -91,6 +86,7 @@ copy_asset_file 'app/models/mailer.rb'
 copy_asset_file 'app/models/user.rb'
 copy_asset_file 'app/models/user_activation.rb'
 copy_asset_file 'app/models/user_session.rb'
+copy_asset_file 'app/views/layouts/_javascript.html.haml'
 copy_asset_file 'app/views/layouts/_flashes.html.haml'
 copy_asset_file 'app/views/mailer/reset_password_request.erb'
 copy_asset_file 'app/views/mailer/user_activation.erb'
@@ -223,10 +219,6 @@ test:
   encoding: utf8
 }
 
-file 'app/views/layouts/_javascript.html.haml',
-&quot;= javascript_include_tag \&quot;jquery-#{@jquery_version}\&quot;, \&quot;application\&quot;, :cache =&gt; true
-= yield :javascript&quot;
-
 rake 'gems:heroku_spec'
 
 run 'find . -type d -empty -exec touch {}/.keep \;'</diff>
      <filename>template.rb</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>gold/public/javascripts/jquery-1.3.2.js</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>5e137744ba18bba2b0a8cadaf6a54480305b336a</id>
    </parent>
  </parents>
  <author>
    <name>Tammer Saleh</name>
    <email>tsaleh@gmail.com</email>
  </author>
  <url>http://github.com/tsaleh/bushido/commit/2345d849ee061ec8e1852149420453429df03dcc</url>
  <id>2345d849ee061ec8e1852149420453429df03dcc</id>
  <committed-date>2009-10-29T10:27:44-07:00</committed-date>
  <authored-date>2009-10-29T10:27:44-07:00</authored-date>
  <message>JS cleanups

* using google's cached js file
* removed app-specific js in application.js</message>
  <tree>aac9ef2c1ebb38d12636250d8b81fd74b974e471</tree>
  <committer>
    <name>Tammer Saleh</name>
    <email>tsaleh@gmail.com</email>
  </committer>
</commit>
