Merge JS plugin
ruby script/plugin install http://sbecker.net/shared/plugins/merge_js/
1. Run the rake task "generate_js_yml" to generate the /config/js.yml file the first time. You will need to reorder files under 'base' so dependencies are loaded in correct order. Feel free to rename or create new file collections.
Example with multiple merged files:
--- source_map: - rails_base: - prototype - effects - controls - dragdrop - app_lib: - application - foo - bar current_version: "20060603144038"
3. Use the helper function whenever including these files in your application.
Now supports symbols and :defaults as well:
There is currently no advanced documentation for this plugin.New documentation