GitHub Javascript Strategy
Unless otherwise necessary (such as mobile development), the GitHub javascript codebase is based off jQuery. You can safely assume it will be included on every page.
File naming
- All jquery plugins should be prefixed with jquery, such as
jquery.facebox
- All github-specific jquery plugins should be prefixed with jquery.github. Like
jquery.github.repo_list.js
- All page-specific files (that only run on ONE page) should be prefixed with page.
page.billing.js