- Add your own files to be included.
Refinery version 2.0 and later use Rails's asset pipeline to deliver
This means that you can simply remove the two relevant lines from
application.js to remove the default library, jQuery:
You can include your own files this way too; indeed, since
minified in production, we recommend this as opposed to adding separate
Adding additional files
application.js. This is often times useful when you are writing
extension that requires additional functionality, where you do not want
on a user to inject your dependency into his
It should be used inside a view like so:
This will append
jquery-cycle.min.js after your
WARNING. Previous versions of Refinery allowed you to define
content_for blocks named
longer available, since the asset pipeline obviates their use.