Files
angular.js/i18n
Henry Zhu 030101a43a style(*): add numerous JSCS rules to unify code-styles in the tree
Changes:

  - add rule requireSpaceBeforeBlockStatements (require space before brace when opening block statement)
  - add operators to rule disallowSpaceAfterPrefixUnaryOperators (no space after prefix inc/dec ops)
  - add rule disallowSpaceBeforePostfixUnaryOperators (no space before postfix inc/dec ops)
  - add rule disallowSpacesInsideArrayBrackets (array literals no longer padded with spaces)
  - add rule requireCommaBeforeLineBreak (line can't start with comma token)
  - add rule validateLineBreaks (require LF linebreaks)

Closes #9792
2014-10-31 11:27:16 -04:00
..

i18n directory overview:

  • closure/ - closure files we use for ruleset generation
  • src/ - source files
  • spec/ - spec files for stuff in src directory
  • generate.sh - runs src scripts on closure dir and stores output in locale dir
  • update-closure.sh - downloads the latest version of closure files from public git repo

The closure files (maintained by Shanjian Li (shanjian)) change very rarely, so we don't need to regenerate locale files very often.