Skip to content
This repository has been archived by the owner on Feb 4, 2021. It is now read-only.

Latest commit

 

History

History
15 lines (11 loc) · 650 Bytes

STYLE_GUIDE.md

File metadata and controls

15 lines (11 loc) · 650 Bytes

Style Guide

CSS

  • If a vendor-specific CSS rule is added, please add it for as many different vendors as possible to avoid styling discrepancies between clients.

Naming conventions

  • Regular expressions should be denoted with variable names ending in "_re".
  • Function names should be prefixed with "afcHelper_" so as to avoid naming conflicts.

Other thoughts

  • jQuery is not the be all and end all, and, while incredibly useful to the helper script, should still be used only when necessary.

The code itself

  • Source code is indented using tabs, not spaces, for reasons unknown to nearly everyone on the development team.