Controlling the order in which custom Javascript is included
Posted: Fri Mar 02, 2012 12:27 pm
I have a newly-installed instance of ProfoundUI and I deployed my custom widgets and scripts without realizing that I'd forgotten to copy over the jQuery library that I use. When I copied the script file into the custom/js folder and ran the designer, it put jQuery's <script> tag after the files I'd already loaded into the same directory.
How does the system order those files for inclusion into pages? The jQuery file should come before my files when sorted alphabetically, and I even tried deleting my old file and adding them back to see if that helped, with no luck.
How does the system order those files for inclusion into pages? The jQuery file should come before my files when sorted alphabetically, and I even tried deleting my old file and adding them back to see if that helped, with no luck.