- All jquery plugins should be prefixed with jquery, such as
- All github-specific jquery plugins should be prefixed with jquery.github. Like
- All page-specific files (that only run on ONE page) should be prefixed with page.
common- Contains all files that are used and shared between the main site and sub-sites (like gist)
rogue- Files that are directly called by individual pages. Use for large libraries that are only used on one (or a very few) pages.
dev- Files that are hosted elsewhere (such as google) that you will need if you do not have an internet connection.
Inside of each directory, you should note the difference between plugins and files where possible and split them into different directories (see
On deploy, each top level directory is bundled into a compressed file. Any files that are inside the directory (and it's subfolders) will be bundled into one file and available at
If you would like to include a bundle in your Rails templates, you reference bundles or individual files using the
In production, this will include:
In development, this will include: