How to Include Multiple Javascript Files in .NET (Like they do in rails)
- by Kyle West
I'm jealous of the rails guys. They can do this:
<%= javascript_include_tag "all_min" %>
... and I'm stuck doing this:
<script src="/public/javascript/jquery/jquery.js" type="text/javascript"></script>
<script src="/public/javascript/jquery/jquery.tablesorter.js" type="text/javascript"></script>
<script src="/public/javascript/jquery/jquery.tablehover.pack.js" type="text/javascript"></script>
<script src="/public/javascript/jquery/jquery.validate.js" type="text/javascript"></script>
<script src="/public/javascript/jquery/jquery.form.js" type="text/javascript"></script>
<script src="/public/javascript/jquery/application.js" type="text/javascript"></script>
Are there any libraries to compress, gzip and combine multiple js files? How about CSS files?