tracks/vendor/plugins/bundle-fu
2009-02-07 21:26:43 +01:00
..
lib fix crlf issue 2009-02-07 21:26:43 +01:00
test Next step in upgrading Tracks to Rails 2.2. Some highlights: 2008-11-30 00:34:15 -05:00
environment.rb Next step in upgrading Tracks to Rails 2.2. Some highlights: 2008-11-30 00:34:15 -05:00
init.rb Next step in upgrading Tracks to Rails 2.2. Some highlights: 2008-11-30 00:34:15 -05:00
MIT-LICENSE Next step in upgrading Tracks to Rails 2.2. Some highlights: 2008-11-30 00:34:15 -05:00
README.textile Next step in upgrading Tracks to Rails 2.2. Some highlights: 2008-11-30 00:34:15 -05:00

h1. Bundle fu
-------------

Each css / js you load causes your site to load slower!  You can speed things up 
exponentially by simply combining all your css/js files into one file each.  

Bundle_fu makes it easy to do.  It's as easy as 1, 2!

h2. USAGE / INSTALLATION
------------------------

h3. Step 1

Install this plugin

script/plugin install git://github.com/timcharper/bundle-fu.git

h3. Step 2

Put the following around your stylesheets/javascripts (note it works with any method of including assets!):

<pre><code>
  <% bundle do %>
    ...
    <%= javascript_include_tag "prototype" %>
    <%= stylesheet_link_tag "basic.css" %>
    <%= calendar_date_select_includes params[:style] %>
    <script src="javascripts/application.js" type="text/javascript"></script>
    ...
  <% end %>
</code></pre>

That's it!

"More info":http://code.google.com/p/bundle-fu/