Ok, silly question, and I don't think it is possible, but I have this markup at the top of my .aspx page ...
<%--Third Party Libraries, Plugins, Extensions --%> <script src="Libraries/Raphael/Raphael.js" type="text/javascript"></script> <script src="AutoComplete/jquery.autocomplete.js" type="text/javascript"></script> <script src="Libraries/jQuery/1.4.2/jquery.js" type="text/javascript"></script> <script src="Libraries/jQuery/UI/1.8.4/jquery.ui.core.js" type="text/javascript"></script> <script src="Libraries/jQuery/UI/1.8.4/jquery.ui.widget.js" type="text/javascript"></script> <script src="Libraries/jQuery/UI/1.8.4/jquery.ui.mouse.js" type="text/javascript"></script> <script src="Libraries/jQuery/UI/1.8.4/jquery.ui.draggable.js" type="text/javascript"></script> <script src="Libraries/jQuery/UI/1.8.4/jquery.ui.droppable.js" type="text/javascript"></script>
It would be nice if I could replace this with ...
<%--Third Party Libraries, Plugins, Extensions --%> <script src="Libraries/Raphael/Raphael.js" type="text/javascript"></script> <script src="AutoComplete/jquery.autocomplete.js" type="text/javascript"></script> <script src="Libraries/jQuery/1.4.2/jquery.js" type="text/javascript"></script> <script src="Libraries/jQuery/UI/1.8.4/jquery.ui.*.js" type="text/javascript"></script>
those. use * as a wildcard.
Obviously, since this is JS, I can just throw all these scripts into one big script and load it, but I really don't like it.
Does anyone have a technique for mass cleaning script refs? Or are we just living with this?
El ronnoco
source share