How to Include Multiple Javascript Files in .NET (Like they do in rails)
Posted
by Kyle West
on Stack Overflow
See other posts from Stack Overflow
or by Kyle West
Published on 2008-11-18T22:12:07Z
Indexed on
2010/05/19
4:20 UTC
Read the original article
Hit count: 421
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?
© Stack Overflow or respective owner