I have some javascripts that I have copied into:
app/assets/javascripts
Mostly jQuery plugins. Some of them I need to load in a certain order. I’m in the process of trying to enable back-button support in my Ajax application.
How can I impose a load order on tree items not explicitly listed in my application.js file?
Your jQuery plugins should go in
lib/assets/javascriptsorvendor/assets/javascripts.Then in your application.js manifest, simply include them in whatever order you want :
The
require_treewill not load what is insidelibandvendorfolders